Bot API 3.2, introduce Request to replace APIResponse methods.
This commit is contained in:
parent
e97c2417c9
commit
271adc4d97
4 changed files with 435 additions and 160 deletions
|
@ -420,7 +420,7 @@ func TestGetFile(t *testing.T) {
|
|||
func TestSendChatConfig(t *testing.T) {
|
||||
bot, _ := getBot(t)
|
||||
|
||||
_, err := bot.Send(tgbotapi.NewChatAction(ChatID, tgbotapi.ChatTyping))
|
||||
_, err := bot.Request(tgbotapi.NewChatAction(ChatID, tgbotapi.ChatTyping))
|
||||
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue