typo
This commit is contained in:
parent
a7a2fe3875
commit
2ff19b1e30
@ -185,10 +185,10 @@ func TGCmdWorker(id int, b *tb.Bot, cmds <-chan TGCommand) {
|
|||||||
log.Printf("TGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(j))
|
log.Printf("TGCmdWorker["+strconv.Itoa(id)+"] : new command.\n%s\n", string(j))
|
||||||
switch c.Type {
|
switch c.Type {
|
||||||
case commandReplyMsg:
|
case commandReplyMsg:
|
||||||
ch := td.Chat{
|
ch := tb.Chat{
|
||||||
ID: c.FromChatID64,
|
ID: c.FromChatID64,
|
||||||
}
|
}
|
||||||
m := td.Message{
|
m := tb.Message{
|
||||||
ID: int(c.FromMsgID64),
|
ID: int(c.FromMsgID64),
|
||||||
Chat: &ch,
|
Chat: &ch,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user