diff --git a/td.go b/td.go index 916c5cc..04931a3 100644 --- a/td.go +++ b/td.go @@ -97,7 +97,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) { for _, msg := range msgs.Messages { switch msg.Content.GetMessageContentEnum() { case tdlib.MessageTextType: - fmt.Println("msg.ForwardInfo : ", msg.ForwardInfo.GetMessageForwardInfoEnum()) + fmt.Println("msg.ForwardInfo : ", msg.ForwardInfo) if msg.ForwardInfo == nil { m = ChatWarsMessage{ SenderUserID64: int64(msg.SenderUserID),