This commit is contained in:
shoopea 2019-05-04 18:54:13 +08:00
parent b17c5fcab6
commit d7d0c5280f

1
td.go
View File

@ -99,7 +99,6 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
lastParsedTime = time.Unix(int64(msg.Date), 0)
switch msg.Content.GetMessageContentEnum() {
case tdlib.MessageTextType:
fmt.Printf("message : %s.\n", msg.Content.(*tdlib.MessageText).Text.Text)
if msg.ForwardInfo == nil {
m = ChatWarsMessage{
SenderUserID64: int64(msg.SenderUserID),