fix forward msg
This commit is contained in:
parent
c7645ba99c
commit
9bc8235cb2
2
td.go
2
td.go
@ -231,7 +231,7 @@ func clientMsg(c *tdlib.Client, m TGCommand) {
|
|||||||
switch m.Type {
|
switch m.Type {
|
||||||
case commandForwardMsg:
|
case commandForwardMsg:
|
||||||
msgIDs := make([]int64, 1)
|
msgIDs := make([]int64, 1)
|
||||||
msgIDs[0] = msgID
|
msgIDs[0] = m.FromMsgID64
|
||||||
c.ForwardMessages(m.ToChatID64, m.FromChatID64, msgIDs, false, false, false)
|
c.ForwardMessages(m.ToChatID64, m.FromChatID64, msgIDs, false, false, false)
|
||||||
|
|
||||||
case commandSendMsg:
|
case commandSendMsg:
|
||||||
|
Loading…
Reference in New Issue
Block a user