Every setWebhook parameter explained
url — HTTPS endpoint on port 443, 80, 88 or 8443. secret_token — 1–256 characters sent in the X-Telegram-Bot-Api-Secret-Token header so you can reject fake requests. allowed_updates — the update types you want (empty = all except chat_member, message_reaction and message_reaction_count). max_connections — 1–100 simultaneous HTTPS connections (default 40). drop_pending_updates — discard the queue. ip_address — fixed IP instead of DNS.
Read getWebhookInfo like a pro
pending_update_count grows when your server doesn't answer 200 fast enough. last_error_message tells you why: SSL errors, “Wrong response from the webhook: 500”, timeouts or connection refused. The tester translates each into a concrete fix.
Simulate updates safely
Test updates are sent from Adsun's server to your public HTTPS URL with the same JSON shape and secret header Telegram uses. Only public HTTPS hosts on Telegram's ports are allowed. Your bot token is never sent to Adsun — Bot API calls go straight from your browser to api.telegram.org.