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