Send Bot Message
Send a CometChat message from a bot UID with REST API to post bot-authored text, media, or custom content.
For the complete error reference, see Error Guide.Documentation Index
Fetch the complete documentation index at: https://cometchat-22654f5b-docs-add-campaigns-webhooks.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key with fullAccess scope(i.e. Rest API Key from the Dashboard).
Path Parameters
An UID of the Bot.
Body
- Message
- Custom
The receiver of the message.
The muid will be a unique Identifier of the message.
The receiverType of the message. either user or group
user, group Category of the message. The available categories are message and custom.
message Type of the message. The available values are text, image, file, audio, video.
text, image, file, audio, video JSON containing message attributes.
JSON containing array of UIDs and GUID for whom the message must be sent. Format for multiple receivers - {"uids": ["uid1","uid2"], "guids":["guid1"]}
A list of tags to identify specific messages.
Response
Send Bot Message