MessageMediaDocument#
- class pyrogram.raw.types.MessageMediaDocument[source]#
Telegram API type.
Constructor of
MessageMedia.- Details:
Layer:
224ID:
52D8CCD9
- Parameters:
nopremium (
bool, optional) – N/Aspoiler (
bool, optional) – N/Avideo (
bool, optional) – N/Around (
bool, optional) – N/Avoice (
bool, optional) – N/Adocument (
Document, optional) – N/Aalt_documents (List of
Document, optional) – N/Avideo_cover (
Photo, optional) – N/Avideo_timestamp (
int32-bit, optional) – N/Attl_seconds (
int32-bit, optional) – N/A
- Functions:
This object can be returned by 2 functions.
Upload a file and associate it to a chat (without actually sending it to the chat) May also be used in a business connection, not by wrapping the query in invokeWithBusinessConnection, but rather by specifying the business connection ID in the business_connection_id parameter.
Upload a media file associated with an imported chat, click here for more info.