mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03:00
18 lines
4.0 KiB
HTML
18 lines
4.0 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<title>InputMediaPoll</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<link id="style" href="../css/docs.dark.css" rel="stylesheet">
|
||
|
<script>
|
||
|
document.getElementById("style").href = "../css/docs."
|
||
|
+ (localStorage.getItem("theme") || "light")
|
||
|
+ ".css";
|
||
|
</script>
|
||
|
<link href="https://fonts.googleapis.com/css?family=Nunito|Source+Code+Pro"
|
||
|
rel="stylesheet">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div id="main_div"><ul class="horizontal"><li><a href="../index.html">API</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="index.html">Constructors</a></li><img src="../img/arrow.svg" alt="/" /><li><a href="input_media_poll.html">InputMediaPoll</a></li></ul><h1>InputMediaPoll</h1><pre>---types---
|
||
|
inputMediaPoll#0f94e5f1 flags:# poll:<a href="../types/poll.html">Poll</a> correct_answers:flags.0?<a href="../index.html#vector">Vector</a><<a href="../index.html#bytes">bytes</a>> solution:flags.1?<a href="../index.html#string">string</a> solution_entities:flags.1?<a href="../index.html#vector">Vector</a><<a href="../types/message_entity.html">MessageEntity</a>> = <a href="../types/input_media.html">InputMedia</a></pre><button onclick="cp('from telethon.tl.types import InputMediaPoll');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/input_media.html">InputMedia</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="input_media_contact.html">InputMediaContact</a></td><td><a href="input_media_dice.html">InputMediaDice</a></td></tr><tr><td><a href="input_media_document.html">InputMediaDocument</a></td><td><a href="input_media_document_external.html">InputMediaDocumentExternal</a></td></tr><tr><td><a href="input_media_empty.html">InputMediaEmpty</a></td><td><a href="input_media_game.html">InputMediaGame</a></td></tr><tr><td><a href="input_media_geo_live.html">InputMediaGeoLive</a></td><td><a href="input_media_geo_point.html">InputMediaGeoPoint</a></td></tr><tr><td><a href="input_media_invoice.html">InputMediaInvoice</a></td><td><a href="input_media_paid_media.html">InputMediaPaidMedia</a></td></tr><tr><td><a href="input_media_photo.html">InputMediaPhoto</a></td><td><a href="input_media_photo_external.html">InputMediaPhotoExternal</a></td></tr><tr><td><a href="input_media_poll.html">InputMediaPoll</a></td><td><a href="input_media_story.html">InputMediaStory</a></td></tr><tr><td><a href="input_media_uploaded_document.html">InputMediaUploadedDocument</a></td><td><a href="input_media_uploaded_photo.html">InputMediaUploadedPhoto</a></td></tr><tr><td><a href="input_media_venue.html">InputMediaVenue</a></td><td><a href="input_media_web_page.html">InputMediaWebPage</a></td></tr></table><h3>Members</h3><table><tr><td><b>poll</b></td><td style="text-align:center"><a href="../types/poll.html">Poll</a></td><td></td></tr><tr><td><b>correct_answers</b></td><td style="text-align:center"><a href="../index.html#bytes">bytes</a></td><td>This argument defaults to <code>None</code> and can be omitted. Otherwise, a <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr><tr><td><b>solution</b></td><td style="text-align:center"><a href="../index.html#string">string</a></td><td>This argument defaults to <code>None</code> and can be omitted.</td></tr><tr><td><b>solution_entities</b></td><td style="text-align:center"><a href="../types/message_entity.html">MessageEntity</a></td><td>This argument defaults to <code>None</code> and can be omitted. Otherwise, a <span class="tooltip" title="Any iterable that supports len() will work too">list</span> must be supplied.</td></tr></table><textarea id="c" class="invisible"></textarea><script>function cp(t){var c=document.getElementById("c");c.value=t;c.select();try{document.execCommand("copy")}catch(e){}}</script></div><script>prependPath = "../";</script><script src="../js/search.js"></script></body></html>
|