Viewing Messages
View Message
Follow the code to get single message
Follow the code get multiple messages
Observe Message
Image, File, Audio message
Viewing a file, image, and audio message have the same steps and sample code. You can query all file types with observeFile
.
Below is a sample code on how to display an image message:
For files and audio, you just need to provide their corresponding file ID.
Text and Custom
For text and custom messages, their data is inside the data
property.
Last updated