Третий коммит, добавление share, share_kb, а также ADMIN_ID
This commit is contained in:
14
myenv/Lib/site-packages/aiogram/methods/close.py
Normal file
14
myenv/Lib/site-packages/aiogram/methods/close.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from .base import TelegramMethod
|
||||
|
||||
|
||||
class Close(TelegramMethod[bool]):
|
||||
"""
|
||||
Use this method to close the bot instance before moving it from one local server to another. You need to delete the webhook before calling this method to ensure that the bot isn't launched again after server restart. The method will return error 429 in the first 10 minutes after the bot is launched. Returns :code:`True` on success. Requires no parameters.
|
||||
|
||||
Source: https://core.telegram.org/bots/api#close
|
||||
"""
|
||||
|
||||
__returning__ = bool
|
||||
__api_method__ = "close"
|
Reference in New Issue
Block a user