API Manual: Incoming Messages

Your bot must be connected and authenticated over the WebSocket session to receive incoming messages. The Bot Server does not store any messages for bots for later retrieval.

The following table lists the different incoming JSON messages for the bot.

 

methodDescription
messageNew, edited or deleted message
userDetailsNew or updated user or bot profile.
chatDetailsNew or updated Group or Channel profile.
chatMenuCallbackIncoming callback command from normal keypad menu
inlineMessageCallbackIncoming callback command inline keypad menu
chatMemberNew Member or Admin joined Chat
chatAdministratorsList of chat Administrators returned when requested
myProfileBot Profile details , returned when requested
messageAckAcknowledge that the server received the message
setChatMenu_ackAcknowledge that the server received the setChatMenu message

 

 

 

 

Was this helpful to you?