Skip to main content
POST
/
bots
/
{bot_user_id}
/
channels
/
{channel_id}
/
messages
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "content": "<string>",
  "channel_id": "<string>",
  "thread_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sent_by": {
    "id": "<string>",
    "display_name": "<string>",
    "icon_url": "<string>",
    "role": "Admin",
    "metadata": {}
  },
  "read_by": [
    {
      "id": "<string>",
      "display_name": "<string>",
      "icon_url": "<string>",
      "role": "Admin",
      "metadata": {}
    }
  ],
  "reactions": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "message_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "emoji_code": "<string>",
      "user": {
        "id": "<string>",
        "display_name": "<string>",
        "icon_url": "<string>",
        "role": "Admin",
        "metadata": {}
      },
      "created_at": "2023-11-07T05:31:56Z"
    }
  ],
  "mentions": [
    {
      "type": "User",
      "user": {
        "id": "<string>",
        "display_name": "<string>",
        "icon_url": "<string>",
        "role": "Admin",
        "metadata": {}
      }
    }
  ],
  "edited_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "deleted_at": "2023-11-07T05:31:56Z",
  "metadata": {}
}

Authorizations

X-Rheel-API-Key
string
header
required

管理系API呼び出し用のAPIキーを指定します

Path Parameters

bot_user_id
string
required

Botの一意なID

Required string length: 1 - 100
channel_id
string
required

メッセージを投稿するチャンネルID

Required string length: 1 - 100

Body

application/json
content
string
required

メッセージ本文

Maximum length: 32000
thread_id
string<uuid> | null

スレッドメッセージとして返信する場合の親メッセージID

metadata
object | null

任意の追加メタデータ

mentions
object[]

メンション一覧(送信時)

Response

The request has succeeded.

content
string
required

メッセージ本文

Maximum length: 32000
id
string<uuid>

メッセージID

channel_id
string

メッセージが属するチャンネルのID

Required string length: 1 - 100
thread_id
string<uuid> | null

スレッドメッセージとして返信する場合の親メッセージID

sent_by
object

メッセージを送信したユーザー 簡易ユーザー情報(IDと基本情報のみ)

read_by
object[]

既読したユーザーの一覧

reactions
object[]

メッセージに付与されたリアクション一覧

mentions
object[]

メンション情報一覧

edited_at
string<date-time> | null

編集日時

created_at
string<date-time>

作成日時

updated_at
string<date-time> | null

更新日時

deleted_at
string<date-time> | null

削除日時

metadata
object | null

任意の追加メタデータ