From ddd9dcd50552b53af9f8bac890a938b97f32442b Mon Sep 17 00:00:00 2001 From: AliMVP Date: Fri, 28 Sep 2018 20:32:28 +0330 Subject: [PATCH] - Added Send Animation Method --- configs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs.go b/configs.go index f4b97c0..6c1bfa8 100644 --- a/configs.go +++ b/configs.go @@ -277,7 +277,7 @@ func (config AnimationConfig) name() string { } // method returns Telegram API method name for sending Animation. -func (config Animation) method() string { +func (config AnimationConfig) method() string { return "sendAnimation" }