mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Move send_game and set_game_score into bots folder
This commit is contained in:
parent
33e83bf635
commit
65bdf31ce1
4 changed files with 9 additions and 5 deletions
|
|
@ -67,8 +67,6 @@ Messages
|
|||
vote_poll
|
||||
retract_vote
|
||||
download_media
|
||||
send_game
|
||||
set_game_score
|
||||
|
||||
Chats
|
||||
-----
|
||||
|
|
@ -140,6 +138,8 @@ Bots
|
|||
send_inline_bot_result
|
||||
answer_callback_query
|
||||
request_callback_answer
|
||||
send_game
|
||||
set_game_score
|
||||
|
||||
|
||||
.. autoclass:: pyrogram.Client
|
||||
|
|
|
|||
|
|
@ -19,13 +19,17 @@
|
|||
from .answer_callback_query import AnswerCallbackQuery
|
||||
from .get_inline_bot_results import GetInlineBotResults
|
||||
from .request_callback_answer import RequestCallbackAnswer
|
||||
from .send_game import SendGame
|
||||
from .send_inline_bot_result import SendInlineBotResult
|
||||
from .set_game_score import SetGameScore
|
||||
|
||||
|
||||
class Bots(
|
||||
AnswerCallbackQuery,
|
||||
GetInlineBotResults,
|
||||
RequestCallbackAnswer,
|
||||
SendInlineBotResult
|
||||
SendInlineBotResult,
|
||||
SendGame,
|
||||
SetGameScore
|
||||
):
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ from typing import Union
|
|||
|
||||
import pyrogram
|
||||
from pyrogram.api import functions, types
|
||||
from ...ext import BaseClient
|
||||
from pyrogram.client.ext import BaseClient
|
||||
|
||||
|
||||
class SendGame(BaseClient):
|
||||
|
|
@ -20,7 +20,7 @@ from typing import Union
|
|||
|
||||
import pyrogram
|
||||
from pyrogram.api import functions, types
|
||||
from ...ext import BaseClient
|
||||
from pyrogram.client.ext import BaseClient
|
||||
|
||||
|
||||
class SetGameScore(BaseClient):
|
||||
Loading…
Reference in a new issue