Rocket.Chat integration (Communication, Productivity). Imported from open-connector.
{base_url}/me
/rooms.get
| Param | Type | Required | Description |
|---|---|---|---|
| updatedSince | string | optional | Only return room updates and removals since this ISO date-time. |
/rooms.info
| Param | Type | Required | Description |
|---|---|---|---|
| roomId | string | optional | The room ID. Required if roomName is omitted. |
| roomName | string | optional | The room name. Required if roomId is omitted. |
| fields | object | optional | Rocket.Chat fields projection object. Use 1 to include and 0 to exclude each pr… |
/channels.messages
| Param | Type | Required | Description |
|---|---|---|---|
| roomId | string | required | The public channel room ID. |
| count | integer | optional | The number of messages to return. |
| offset | integer | optional | The number of messages to skip. |
| sort | object | optional | Rocket.Chat sort object. Use 1 for ascending and -1 for descending. |
| mentionIds | array | optional | User IDs that must be mentioned by returned messages. |
| starredIds | array | optional | User IDs that must have starred returned messages. |
| pinned | boolean | optional | Whether to return only pinned messages. |
/chat.getMessage
| Param | Type | Required | Description |
|---|---|---|---|
| msgId | string | optional | The message ID. |
/chat.postMessage
| Param | Type | Required | Description |
|---|---|---|---|
| roomId | string | required | The room ID, channel name, or username target. Channel names must include the #… |
| text | string | optional | The message text to send. |
| parseUrls | boolean | optional | Whether Rocket.Chat should generate URL previews. |
| alias | string | optional | Display alias for the message when the user has impersonation permission. |
| avatar | string | optional | Avatar URL for the message when the user has impersonation permission. |
| emoji | string | optional | Emoji avatar for the message when the user has impersonation permission. |
| attachments | array | optional | Message attachments. |
| tmid | string | optional | The original message ID for a thread reply. |
| customFields | object | optional | Custom message fields configured by the workspace. |
/chat.update
| Param | Type | Required | Description |
|---|---|---|---|
| roomId | string | required | The room ID where the message is located. |
| msgId | string | required | The message ID to update. |
| text | string | required | The updated message text. |
| previewUrls | array | optional | URLs whose previews should be generated. |
| customFields | object | optional | Custom message fields configured by the workspace. |
/chat.delete
| Param | Type | Required | Description |
|---|---|---|---|
| roomId | string | required | The room ID where the message is located. |
| msgId | string | required | The message ID to delete. |
| asUser | boolean | optional | Whether to delete as the user who sent the message. |