Class LogOut
java.lang.Object
org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod<T>
org.telegram.telegrambots.meta.api.methods.BotApiMethod<Boolean>
org.telegram.telegrambots.meta.api.methods.botapimethods.BotApiMethodBoolean
org.telegram.telegrambots.meta.api.methods.updates.LogOut
- All Implemented Interfaces:
Validable
- Version:
- 2.4 Use this method to log out from the cloud Bot API server before launching the bot locally. You must log out the bot before running it locally, otherwise there is no guarantee that the bot will receive updates. After a successful call, you will not be able to log in again using the same token for 10 minutes. Returns True on success. Requires no parameters.
- Author:
- Ruben Bermudez
-
Field Summary
FieldsFields inherited from class org.telegram.telegrambots.meta.api.methods.BotApiMethod
METHOD_FIELDFields inherited from class org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod
OBJECT_MAPPER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.telegram.telegrambots.meta.api.methods.botapimethods.BotApiMethodBoolean
deserializeResponseMethods inherited from class org.telegram.telegrambots.meta.api.methods.PartialBotApiMethod
deserializeResponse, deserializeResponseArray, deserializeResponseSerializable
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
LogOut
public LogOut()
-
-
Method Details
-
getMethod
Description copied from class:PartialBotApiMethodGetter for method path (that is the same as method name)- Specified by:
getMethodin classPartialBotApiMethod<Boolean>- Returns:
- Method path
-