Sending a bot messageAsk AIpost https://app.trengo.com/api/v2/internal_chat/messagesSend a message as a bot in the Team ChatBody ParamsbotbooleanDefaults to trueThis should always be true, otherwise the message will not be sent in realtime. (using websockets)truefalsethreadIdint32Required if toUserId is not settoUserIdint32Required if threadId is not setbodystringHTML message body. Required if attachmentIds is not set. URLs will be automatically converted to A-tags.attachmentIdsarray of int32sIDs of uploaded files. Required if body not set.attachmentIdsADD int32parentIdint32Set the parent message ID to reply to it.Responses 200200 400400Updated 10 months ago