Module channels_api

Source

Enums§

AddChannelError
struct for typed errors of method add_channel
DeleteChannelError
struct for typed errors of method delete_channel
DeleteConversationError
struct for typed errors of method delete_conversation
ReceiveMessageError
struct for typed errors of method receive_message

Functions§

add_channel
Adds a new messaging channel, only admins are able to register new channels. It will use the getConversations endpoint to fetch conversations, participants and messages afterward. To use the endpoint, you need to have Messengers integration OAuth scope enabled and the Messaging manifest ready for the Messaging app extension.
delete_channel
Deletes an existing messenger’s channel and all related entities (conversations and messages). To use the endpoint, you need to have Messengers integration OAuth scope enabled and the Messaging manifest ready for the Messaging app extension.
delete_conversation
Deletes an existing conversation. To use the endpoint, you need to have Messengers integration OAuth scope enabled and the Messaging manifest ready for the Messaging app extension.
receive_message
Adds a message to a conversation. To use the endpoint, you need to have Messengers integration OAuth scope enabled and the Messaging manifest ready for the Messaging app extension.