test
This commit is contained in:
parent
6b166993eb
commit
dccea513eb
1
td.go
1
td.go
@ -108,6 +108,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
} else {
|
} else {
|
||||||
fmt.Println("msg.ForwardInfo : ", msg.ForwardInfo.GetMessageForwardInfoEnum())
|
fmt.Println("msg.ForwardInfo : ", msg.ForwardInfo.GetMessageForwardInfoEnum())
|
||||||
if msg.ForwardInfo.GetMessageForwardInfoEnum() == tdlib.MessageForwardedFromUserType {
|
if msg.ForwardInfo.GetMessageForwardInfoEnum() == tdlib.MessageForwardedFromUserType {
|
||||||
|
fmt.Println("id")
|
||||||
m = ChatWarsMessage{
|
m = ChatWarsMessage{
|
||||||
SenderUserID64: int64(msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).SenderUserID),
|
SenderUserID64: int64(msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).SenderUserID),
|
||||||
Date: msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).Date,
|
Date: msg.ForwardInfo.(*tdlib.MessageForwardedFromUser).Date,
|
||||||
|
Loading…
Reference in New Issue
Block a user