diff options
Diffstat (limited to 'messages.go')
-rw-r--r-- | messages.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/messages.go b/messages.go index 7c20e05..e4a8922 100644 --- a/messages.go +++ b/messages.go @@ -125,7 +125,8 @@ func (a *messages) sendMessage(chatID int, userID int, message *schemes.NewMessa } defer body.Close() if err := json.NewDecoder(body).Decode(result); err != nil { - return err + // Message sent without errors + return nil } if result.Code == "" { return nil |