debug
This commit is contained in:
parent
268f5de92b
commit
17571f7144
2
td.go
2
td.go
@ -97,7 +97,7 @@ func getHistory(c *tdlib.Client, chatID64 *int64, senderUserID64 *int64) {
|
|||||||
for _, msg := range msgs.Messages {
|
for _, msg := range msgs.Messages {
|
||||||
switch msg.Content.GetMessageContentEnum() {
|
switch msg.Content.GetMessageContentEnum() {
|
||||||
case tdlib.MessageTextType:
|
case tdlib.MessageTextType:
|
||||||
fmt.Printf("msg.ForwardInfo : %s.\n", string(msg.ForwardInfo))
|
fmt.Printf("msg.ForwardInfo : %s.\n", string(msg.Content.GetMessageContentEnum()))
|
||||||
if msg.ForwardInfo == nil {
|
if msg.ForwardInfo == nil {
|
||||||
m = ChatWarsMessage{
|
m = ChatWarsMessage{
|
||||||
SenderUserID64: int64(msg.SenderUserID),
|
SenderUserID64: int64(msg.SenderUserID),
|
||||||
|
Loading…
Reference in New Issue
Block a user