2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 12:57:52 +00:00

Move send_game and set_game_score into bots folder

This commit is contained in:
Dan 2019-01-07 22:26:52 +01:00
parent 33e83bf635
commit 65bdf31ce1
4 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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):

View File

@ -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):