đ§ replace_managed_bot_token
Use this method to replace the current bot token for a managed bot.
âī¸ Parameters
managed_bot_user_id(int)reason(str) (optional)
đ˛ Returns
str
đ Examples
-đĒĢ Required Parameters
await bot.replace_managed_bot_token(
managed_bot_user_id=your_managed_bot_user_id_here
)
-đ All Parameters
await bot.replace_managed_bot_token(
managed_bot_user_id=your_managed_bot_user_id_here,
reason=your_reason_here
)