Sending a bot message

Send a message as a bot in the Team Chat

Body Params
boolean
Defaults to true

This should always be true, otherwise the message will not be sent in realtime. (using websockets)

int32

Required if toUserId is not set

int32

Required if threadId is not set

string

HTML message body. Required if attachmentIds is not set. URLs will be automatically converted to A-tags.

attachmentIds
array of int32s

IDs of uploaded files. Required if body not set.

attachmentIds
int32

Set the parent message ID to reply to it.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json