A webhook, a low-effort way to post messages to channels.
| Property | Type | Description |
|---|---|---|
| application_id | String | The bot/OAuth2 application that created this webhook |
| avatar | String | The default user avatar hash of the webhook |
| channel_id | String | The channel id this webhook is for, if any |
| guild_id | String | The guild id this webhook is for, if any |
| id | String | The id of the webhook |
| name | String | The default name of the webhook |
| source_channel | Channel | The channel that this webhook is following (Channel Follower webhooks) |
| source_guild | Guild_Partial | The guild of the channel that this webhook is following (Channel Follower webhooks) |
| token | String | The secure token of the webhook (Incoming webhooks) |
| type | Integer | The type of the webhook (1 Incoming, 2 Channel Follower, 3 Application) |
| url | String | The url used for executing the webhook (webhooks OAuth2 flow) |
| user | User | The user this webhook was created by (not returned when getting a webhook with its token) |