SetWebhookPublicV1Request
urlstringrequired
certificatestring
Full contents of the .pem certificate, Base64-encoded (including BEGIN/END CERTIFICATE). Set if a self-signed certificate is used for the webhook
updateTypesUpdateType (string)[]
Possible values: [MESSAGE, CHAT_MEMBER]
secretTokenstring
If set, it will be included in the "X-YuChat-Bot-Api-Secret-Token" header
SetWebhookPublicV1Request
{
"url": "string",
"certificate": "string",
"updateTypes": [
"MESSAGE"
],
"secretToken": "string"
}