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()