Skip to content

setBotUpdatesStatus

Sahri Riza Umami edited this page Dec 8, 2016 · 2 revisions

Bots only.
Informs server about number of pending bot updates if they aren't processed for a long time.

setBotUpdatesStatus(pending_update_count, error_message)
Option Description
pending_update_count Number of pending updates.
error_message Last error's message.

Example

setBotUpdatesStatus(pending_update_count, error_message)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally