diff options
Diffstat (limited to 'telegram/commands.go')
-rw-r--r-- | telegram/commands.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/telegram/commands.go b/telegram/commands.go index f523f39..58f4db3 100644 --- a/telegram/commands.go +++ b/telegram/commands.go @@ -377,9 +377,9 @@ func (c *Client) ProcessTransportCommand(cmdline string, resource string) string text := rawCmdArguments(cmdline, 1) _, err = c.client.ReportChat(&client.ReportChatRequest{ - ChatId: contact.Id, - Reason: &client.ChatReportReasonCustom{}, - Text: text, + ChatId: contact.Id, + Reason: &client.ChatReportReasonCustom{}, + Text: text, }) if err != nil { return err.Error() |