BotApi subscription

NameTypeDescription
filter String

Text filter for messages. Only messages containing this text will trigger this subscription

longPolling Boolean

true - if this subsription activates events long-polling, otherwise this is a webhook subscription

time long

Timestamp of subscription creation

types WebhookType[]

Comma separated events type filter

url String[]

Webhook url, unless it is a long-polling subscription