From b7dde2874fd07e722ba33d7de934b75c621295e7 Mon Sep 17 00:00:00 2001 From: AliMVP Date: Fri, 28 Sep 2018 20:31:33 +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 d16de8c..f4b97c0 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 PhotoConfig) Animation() string { +func (config Animation) method() string { return "sendAnimation" }