Skip to content

Latest commit

 

History

History
240 lines (167 loc) · 4.92 KB

File metadata and controls

240 lines (167 loc) · 4.92 KB

InputMedia

Types

InputMedia::typeInputMediaEmpty

Schema:

inputMediaEmpty#9664f57f = InputMedia;

Parameters:

InputMedia::typeInputMediaUploadedPhoto

Schema:

inputMediaUploadedPhoto#630c9af1 flags:# file:InputFile caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;

Parameters:

Name Type
file InputFile
caption QString
stickers QList<InputDocument>

InputMedia::typeInputMediaPhoto

Schema:

inputMediaPhoto#e9bfb4f3 id:InputPhoto caption:string = InputMedia;

Parameters:

Name Type
id InputPhoto
caption QString

InputMedia::typeInputMediaGeoPoint

Schema:

inputMediaGeoPoint#f9c44144 geo_point:InputGeoPoint = InputMedia;

Parameters:

Name Type
geoPoint InputGeoPoint

InputMedia::typeInputMediaContact

Schema:

inputMediaContact#a6e45987 phone_number:string first_name:string last_name:string = InputMedia;

Parameters:

Name Type
phoneNumber QString
firstName QString
lastName QString

InputMedia::typeInputMediaUploadedDocument

Schema:

inputMediaUploadedDocument#d070f1e9 flags:# file:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;

Parameters:

Name Type
file InputFile
mimeType QString
attributes QList<DocumentAttribute>
caption QString
stickers QList<InputDocument>

InputMedia::typeInputMediaUploadedThumbDocument

Schema:

inputMediaUploadedThumbDocument#50d88cae flags:# file:InputFile thumb:InputFile mime_type:string attributes:Vector<DocumentAttribute> caption:string stickers:flags.0?Vector<InputDocument> = InputMedia;

Parameters:

Name Type
file InputFile
thumb InputFile
mimeType QString
attributes QList<DocumentAttribute>
caption QString
stickers QList<InputDocument>

InputMedia::typeInputMediaDocument

Schema:

inputMediaDocument#1a77f29c id:InputDocument caption:string = InputMedia;

Parameters:

Name Type
id InputDocument
caption QString

InputMedia::typeInputMediaVenue

Schema:

inputMediaVenue#2827a81a geo_point:InputGeoPoint title:string address:string provider:string venue_id:string = InputMedia;

Parameters:

Name Type
geoPoint InputGeoPoint
title QString
address QString
provider QString
venueId QString

InputMedia::typeInputMediaGifExternal

Schema:

inputMediaGifExternal#4843b0fd url:string q:string = InputMedia;

Parameters:

Name Type
url QString
q QString

InputMedia::typeInputMediaPhotoExternal

Schema:

inputMediaPhotoExternal#b55f4f18 url:string caption:string = InputMedia;

Parameters:

Name Type
url QString
caption QString

InputMedia::typeInputMediaDocumentExternal

Schema:

inputMediaDocumentExternal#e5e9607c url:string caption:string = InputMedia;

Parameters:

Name Type
url QString
caption QString

InputMedia::typeInputMediaGame

Schema:

inputMediaGame#d33f43f3 id:InputGame = InputMedia;

Parameters:

Name Type
id InputGame

InputMedia::typeInputMediaInvoice

Schema:

inputMediaInvoice#92153685 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string start_param:string = InputMedia;

Parameters:

Name Type
title QString
description QString
photo InputWebDocument
invoice Invoice
payload QByteArray
provider QString
startParam QString