mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-16 12:51:18 +00:00
Small docs fixes
This commit is contained in:
parent
f0138ce555
commit
27666ec174
@ -66,6 +66,7 @@ Input Media
|
|||||||
.. autosummary::
|
.. autosummary::
|
||||||
:nosignatures:
|
:nosignatures:
|
||||||
|
|
||||||
|
InputMedia
|
||||||
InputMediaPhoto
|
InputMediaPhoto
|
||||||
InputMediaVideo
|
InputMediaVideo
|
||||||
InputMediaAudio
|
InputMediaAudio
|
||||||
@ -215,6 +216,9 @@ InputMessageContent
|
|||||||
.. Input Media
|
.. Input Media
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
|
.. autoclass:: InputMedia
|
||||||
|
:members:
|
||||||
|
|
||||||
.. autoclass:: InputMediaPhoto
|
.. autoclass:: InputMediaPhoto
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ __version__ = "0.12.0.develop"
|
|||||||
|
|
||||||
from .api.errors import Error
|
from .api.errors import Error
|
||||||
from .client.types import (
|
from .client.types import (
|
||||||
Audio, Chat, ChatMember, ChatMembers, ChatPhoto, Contact, Document, InputMediaPhoto,
|
Audio, Chat, ChatMember, ChatMembers, ChatPhoto, Contact, Document, InputMedia, InputMediaPhoto,
|
||||||
InputMediaVideo, InputMediaDocument, InputMediaAudio, InputMediaAnimation, InputPhoneContact,
|
InputMediaVideo, InputMediaDocument, InputMediaAudio, InputMediaAnimation, InputPhoneContact,
|
||||||
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, User, UserStatus,
|
Location, Message, MessageEntity, Dialog, Dialogs, Photo, PhotoSize, Sticker, User, UserStatus,
|
||||||
UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply,
|
UserProfilePhotos, Venue, Animation, Video, VideoNote, Voice, CallbackQuery, Messages, ForceReply,
|
||||||
|
@ -56,7 +56,7 @@ class EditMessageMedia(BaseClient):
|
|||||||
message_id (``int``):
|
message_id (``int``):
|
||||||
Message identifier in the chat specified in chat_id.
|
Message identifier in the chat specified in chat_id.
|
||||||
|
|
||||||
media (:obj:`InputMediaAnimation` | :obj:`InputMediaAudio` | :obj:`InputMediaDocument` | :obj:`InputMediaPhoto` | :obj:`InputMediaVideo`)
|
media (:obj:`InputMedia`)
|
||||||
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
One of the InputMedia objects describing an animation, audio, document, photo or video.
|
||||||
|
|
||||||
reply_markup (:obj:`InlineKeyboardMarkup`, *optional*):
|
reply_markup (:obj:`InlineKeyboardMarkup`, *optional*):
|
||||||
|
@ -49,10 +49,8 @@ class SendMediaGroup(BaseClient):
|
|||||||
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
For your personal cloud (Saved Messages) you can simply use "me" or "self".
|
||||||
For a contact that exists in your Telegram address book you can use his phone number (str).
|
For a contact that exists in your Telegram address book you can use his phone number (str).
|
||||||
|
|
||||||
media (``list``):
|
media (List of :obj:`InputMediaPhoto` and :obj:`InputMediaVideo`):
|
||||||
A list containing either :obj:`InputMediaPhoto <pyrogram.InputMediaPhoto>` or
|
A list describing photos and videos to be sent, must include 2–10 items.
|
||||||
:obj:`InputMediaVideo <pyrogram.InputMediaVideo>` objects
|
|
||||||
describing photos and videos to be sent, must include 2–10 items.
|
|
||||||
|
|
||||||
disable_notification (``bool``, *optional*):
|
disable_notification (``bool``, *optional*):
|
||||||
Sends the message silently.
|
Sends the message silently.
|
||||||
|
@ -25,7 +25,7 @@ from .inline_mode import (
|
|||||||
InlineQuery, InlineQueryResult, InlineQueryResultArticle
|
InlineQuery, InlineQueryResult, InlineQueryResultArticle
|
||||||
)
|
)
|
||||||
from .input_media import (
|
from .input_media import (
|
||||||
InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto,
|
InputMedia, InputMediaAudio, InputPhoneContact, InputMediaVideo, InputMediaPhoto,
|
||||||
InputMediaDocument, InputMediaAnimation
|
InputMediaDocument, InputMediaAnimation
|
||||||
)
|
)
|
||||||
from .input_message_content import (
|
from .input_message_content import (
|
||||||
|
Loading…
Reference in New Issue
Block a user