diff options
Diffstat (limited to 'telegram/commands.go')
-rw-r--r-- | telegram/commands.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/telegram/commands.go b/telegram/commands.go index 3828ec2..e164ce1 100644 --- a/telegram/commands.go +++ b/telegram/commands.go @@ -942,8 +942,8 @@ func (c *Client) ProcessChatCommand(chatID int64, cmdline string) (string, bool) } } _, err = c.client.SetChatMessageAutoDeleteTime(&client.SetChatMessageAutoDeleteTimeRequest{ - ChatId: chatID, - MessageAutoDeleteTime: int32(ttl), + ChatId: chatID, + MessageAutoDeleteTime: int32(ttl), }) if err != nil { |