This commit is contained in:
shoopea 2019-06-09 00:57:41 +08:00
parent 9cbeb18a84
commit 0775b445ad

View File

@ -265,7 +265,7 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
ID: int(c.FromMsgID64),
Chat: &ch,
}
_, err := c.Document.Send(b, &m, nil)
_, err := c.Document.Send(b, m, nil)
logOnError(err, "TGCmdWorker["+strconv.Itoa(id)+"] : ReplyDocument")
case commandSendMsg:
if c.ToChatID64 != 0 {