This commit is contained in:
shoopea 2019-05-04 18:12:02 +08:00
parent 73bce99ee4
commit 268f5de92b

1
td.go
View File

@ -97,6 +97,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
for _, msg := range msgs.Messages {
switch msg.Content.GetMessageContentEnum() {
case tdlib.MessageTextType:
fmt.Printf("msg.ForwardInfo : %s.\n", string(msg.ForwardInfo))
if msg.ForwardInfo == nil {
m = ChatWarsMessage{
SenderUserID64: int64(msg.SenderUserID),