Bot API method

setWebhook

7 parameters. Required ones are marked.

Parameters

ParameterTypeRequired
urlStringyes
certificateInputFileno
ip_addressStringno
max_connectionsIntegerno
allowed_updatesArray of Stringno
drop_pending_updatesBooleanno
secret_tokenStringno

Related methods

Computed from shared parameters — the source has no such view.

The method description lives with Telegram: source · full reference