bot
Sends a new chat message to the given room
Changed onThe author and timestamp are automatically set to the current user/guest and time.
post/ocs/v2.php/apps/spreed/api/{apiVersion}/bot/{token}/message
Request
- The document declares no server URL.
- Auth
- none
- or HTTP bearer
- or HTTP basic
Path parameters
apiVersion'v1' required
tokenstring required
Conversation token
Headers
x-nextcloud-talk-bot-randomstring
Random seed (at least 32 bytes) used together with the message to generate the SHA256-HMAC request signature
x-nextcloud-talk-bot-signaturestring
SHA256-HMAC signature over the concatenation of the random seed and the message, signed with the shared bot secret, to verify authenticity
OCS-APIRequestboolean required
Required to be true for the API request to pass
Request body
Response
Message sent successfully
Changes
- info
added the new optional
headerrequest parameterx-nextcloud-talk-bot-random - info
added the new optional
headerrequest parameterx-nextcloud-talk-bot-signature
- info
- info
added the new optional request property
- info
added the new optional request property
- info