Small fixes

This commit is contained in:
Dan 2018-05-07 15:55:41 +02:00
parent 8454d438be
commit bef0a24408
4 changed files with 6 additions and 3 deletions

View File

@ -4,6 +4,7 @@ Client
.. currentmodule:::: pyrogram.Client .. currentmodule:::: pyrogram.Client
.. autoclass:: pyrogram.Client .. autoclass:: pyrogram.Client
:inherited-members:
:members: :members:
**Available methods** **Available methods**

View File

@ -17,11 +17,11 @@
# along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>.
from .get_inline_bot_results import GetInlineBotResults from .get_inline_bot_results import GetInlineBotResults
from .send_inline_bot_results import SendInlineBotResults from .send_inline_bot_result import SendInlineBotResult
class Inline( class Inline(
SendInlineBotResults, SendInlineBotResult,
GetInlineBotResults GetInlineBotResults
): ):
pass pass

View File

@ -20,7 +20,7 @@ from pyrogram.api import functions
from ....ext import BaseClient from ....ext import BaseClient
class SendInlineBotResults(BaseClient): class SendInlineBotResult(BaseClient):
def send_inline_bot_result(self, def send_inline_bot_result(self,
chat_id: int or str, chat_id: int or str,
query_id: int, query_id: int,

View File

@ -22,6 +22,7 @@ from .send_document import SendDocument
from .send_media_group import SendMediaGroup from .send_media_group import SendMediaGroup
from .send_photo import SendPhoto from .send_photo import SendPhoto
from .send_sticker import SendSticker from .send_sticker import SendSticker
from .send_location import SendLocation
from .send_venue import SendVenue from .send_venue import SendVenue
from .send_video import SendVideo from .send_video import SendVideo
from .send_video_note import SendVideoNote from .send_video_note import SendVideoNote
@ -31,6 +32,7 @@ from .send_voice import SendVoice
class Media( class Media(
SendContact, SendContact,
SendVenue, SendVenue,
SendLocation,
SendMediaGroup, SendMediaGroup,
SendVideoNote, SendVideoNote,
SendVoice, SendVoice,