This commit is contained in:
shoopea 2019-05-04 18:25:39 +08:00
parent 6b166993eb
commit dccea513eb

1
td.go
View File

@ -108,6 +108,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
} else {
fmt.Println("msg.ForwardInfo : ", msg.ForwardInfo.GetMessageForwardInfoEnum())
if msg.ForwardInfo.GetMessageForwardInfoEnum() == tdlib.MessageForwardedFromUserType {
fmt.Println("id")
m = ChatWarsMessage{
SenderUserID64: int64(msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).SenderUserID),
Date: msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).Date,