NewChatMessage
A message visible to the bot
workspaceIdstring<flake-id>required
Workspace ID
Example:
w67Y89guchatIdstring<string-id>required
Chat ID, unique within a workspace
Example:
c56Y0kgimessageIdstring<flake-id>required
Message ID, unique within a workspace and chat
Example:
m56Y0kgiauthorstring<flake-id>required
User account ID
Example:
a56Y0kgiparentMessageIdstring<flake-id>
Message ID, unique within a workspace and chat
Example:
m56Y0kgiparentMessageAuthorstring<flake-id>
User account ID
Example:
a56Y0kgimarkdownstringrequired
fileIdsstring[]
createdAtstring<date-time>required
Date and time the message was sent
Example:
2023-02-26T18:58:36.154+03:00NewChatMessage
{
"workspaceId": "w67Y89gu",
"chatId": "c56Y0kgi",
"messageId": "m56Y0kgi",
"author": "a56Y0kgi",
"markdown": "Reminder: the company party is today at 19:00 (bots are invited too)"
}