Skip to content

Commit bef0a24

Browse files
committed
Small fixes
1 parent 8454d43 commit bef0a24

4 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/source/pyrogram/Client.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Client
44
.. currentmodule:::: pyrogram.Client
55
66
.. autoclass:: pyrogram.Client
7+
:inherited-members:
78
:members:
89

910
**Available methods**

pyrogram/client/methods/bots/inline/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
1818

1919
from .get_inline_bot_results import GetInlineBotResults
20-
from .send_inline_bot_results import SendInlineBotResults
20+
from .send_inline_bot_result import SendInlineBotResult
2121

2222

2323
class Inline(
24-
SendInlineBotResults,
24+
SendInlineBotResult,
2525
GetInlineBotResults
2626
):
2727
pass

pyrogram/client/methods/bots/inline/send_inline_bot_results.py renamed to pyrogram/client/methods/bots/inline/send_inline_bot_result.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from ....ext import BaseClient
2121

2222

23-
class SendInlineBotResults(BaseClient):
23+
class SendInlineBotResult(BaseClient):
2424
def send_inline_bot_result(self,
2525
chat_id: int or str,
2626
query_id: int,

pyrogram/client/methods/messages/media/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
from .send_media_group import SendMediaGroup
2323
from .send_photo import SendPhoto
2424
from .send_sticker import SendSticker
25+
from .send_location import SendLocation
2526
from .send_venue import SendVenue
2627
from .send_video import SendVideo
2728
from .send_video_note import SendVideoNote
@@ -31,6 +32,7 @@
3132
class Media(
3233
SendContact,
3334
SendVenue,
35+
SendLocation,
3436
SendMediaGroup,
3537
SendVideoNote,
3638
SendVoice,

0 commit comments

Comments
 (0)