From f2daedea706b485504ef0ca99c206681d1df7022 Mon Sep 17 00:00:00 2001 From: Jannik <32801117+code1mountain@users.noreply.github.com> Date: Wed, 18 Nov 2020 16:10:55 +0100 Subject: [PATCH] Update README.md --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index bd43e36..6f032ab 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,15 @@ The maximum number of messages to be deleted in a single batch is determined by - `end` Last message id to delete ##### Returns `true` +#### Command `ping` +Send an MTProto ping message to the telegram servers. +Useful to detect the delay of the bot api server. + +##### Parameters +No parameters +##### Returns `string` +Ping delay in seconds represented as string. +