QuickSend method added to bot
This commit is contained in:
parent
1cede9cf45
commit
1a3e995b37
3 changed files with 18 additions and 0 deletions
10
bot_test.go
10
bot_test.go
|
@ -342,6 +342,16 @@ func TestSendChatConfig(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
func TestQuickSend(t *testing.T) {
|
||||
bot, _ := getBot(t)
|
||||
|
||||
_, err := bot.QuickSend(ChatID, "test message")
|
||||
|
||||
if err != nil {
|
||||
t.Fail()
|
||||
}
|
||||
}
|
||||
|
||||
func TestGetUserProfilePhotos(t *testing.T) {
|
||||
bot, _ := getBot(t)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue