peyk.platforms.telegram.methods.get_managed_bot_token¶
- async peyk.platforms.telegram.methods.get_managed_bot_token(self, user_id: int) str¶
Use this method to get the token of a managed bot. Returns the token as String on success.
- Parameters:
user_id – User identifier of the managed bot whose token will be returned
- Returns:
Result returned by Telegram on successful execution.
- Return type:
str