We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get the text content of historical messages
The text was updated successfully, but these errors were encountered:
history, err := client.GetChatHistory(cfg.AdChatID, 0, 0, 1, true) if err != nil { return nil } for _, message := range history.Messages { contact := message.Content.(*tdlib.MessageContact) // contact is nil }
Sorry, something went wrong.
If you do not parse the text message, it is better to return to Raw. I can only get the text message by modifying GetChatHistory to return to Raw
No branches or pull requests
How to get the text content of historical messages
The text was updated successfully, but these errors were encountered: