Params¶
webhook
¶
EditWebhookParams
dataclass
¶
Bases: Part
flowchart TD
scurrypy.params.webhook.EditWebhookParams[EditWebhookParams]
scurrypy.core.part.Part[Part]
scurrypy.core.part.Part --> scurrypy.params.webhook.EditWebhookParams
click scurrypy.params.webhook.EditWebhookParams href "" "scurrypy.params.webhook.EditWebhookParams"
click scurrypy.core.part.Part href "" "scurrypy.core.part.Part"
Parameters for editing a webhook.
name: RequiredParam[str] = Unset
class-attribute
instance-attribute
¶
Name of the webhook.
channel_id: RequiredParam[Snowflake] = Unset
class-attribute
instance-attribute
¶
Channel ID of the webhook.
avatar: RequiredNullableParam[ImageDataPart] = Unset
class-attribute
instance-attribute
¶
Default user avatar has of the webhook.