メッセージ関連
オブジェクト
| name | type | description |
|---|---|---|
| content | string | メッセージコンテンツ |
| id | string | メッセージID |
| clean_content | string | メッセージコンテンツからメンションを無効化したメッセージ |
| reference | ?MessageReference Object | メッセージの返信内容 |
| attachment | ?Attachment Object | ファイル |
| embeds | ?Embed Object[] | 埋め込みリスト |
Referenceオブジェクト
| name | type | description |
|---|---|---|
| channel_id | string | チャンネルID |
| guild_id | string | サーバーID |
| message_id | string | メッセージID |
メッセージを送信
POST /messages
Json payload
| name | type | description |
|---|---|---|
| author | Author Object | ユーザー |
| channel | Channel Object | チャンネル |
| guild | Guild Object | サーバー |