Telethon/constructors/message_action_gift_code.html

18 lines
7.9 KiB
HTML
Raw Permalink Normal View History

2016-08-26 13:58:53 +03:00
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>MessageActionGiftCode</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="message_action_gift_code.html">MessageActionGiftCode</a></li></ul><h1>MessageActionGiftCode</h1><pre>---types---
messageActionGiftCode#56d03994 flags:# via_giveaway:flags.0?<a href="../index.html#true">true</a> unclaimed:flags.2?<a href="../index.html#true">true</a> boost_peer:flags.1?<a href="../types/peer.html">Peer</a> months:<a href="../index.html#int">int</a> slug:<a href="../index.html#string">string</a> currency:flags.2?<a href="../index.html#string">string</a> amount:flags.2?<a href="../index.html#long">long</a> crypto_currency:flags.3?<a href="../index.html#string">string</a> crypto_amount:flags.3?<a href="../index.html#long">long</a> message:flags.4?<a href="../types/text_with_entities.html">TextWithEntities</a> = <a href="../types/message_action.html">MessageAction</a></pre><button onclick="cp('from telethon.tl.types import MessageActionGiftCode');">Copy import to the clipboard</button><h3>Belongs to</h3><table><tr><td><a href="../types/message_action.html">MessageAction</a></td></tr></table><p>This type can be an instance of either:</p><table><tr><td><a href="message_action_boost_apply.html">MessageActionBoostApply</a></td><td><a href="message_action_bot_allowed.html">MessageActionBotAllowed</a></td></tr><tr><td><a href="message_action_channel_create.html">MessageActionChannelCreate</a></td><td><a href="message_action_channel_migrate_from.html">MessageActionChannelMigrateFrom</a></td></tr><tr><td><a href="message_action_chat_add_user.html">MessageActionChatAddUser</a></td><td><a href="message_action_chat_create.html">MessageActionChatCreate</a></td></tr><tr><td><a href="message_action_chat_delete_photo.html">MessageActionChatDeletePhoto</a></td><td><a href="message_action_chat_delete_user.html">MessageActionChatDeleteUser</a></td></tr><tr><td><a href="message_action_chat_edit_photo.html">MessageActionChatEditPhoto</a></td><td><a href="message_action_chat_edit_title.html">MessageActionChatEditTitle</a></td></tr><tr><td><a href="message_action_chat_joined_by_link.html">MessageActionChatJoinedByLink</a></td><td><a href="message_action_chat_joined_by_request.html">MessageActionChatJoinedByRequest</a></td></tr><tr><td><a href="message_action_chat_migrate_to.html">MessageActionChatMigrateTo</a></td><td><a href="message_action_contact_sign_up.html">MessageActionContactSignUp</a></td></tr><tr><td><a href="message_action_custom_action.html">MessageActionCustomAction</a></td><td><a href="message_action_empty.html">MessageActionEmpty</a></td></tr><tr><td><a href="message_action_game_score.html">MessageActionGameScore</a></td><td><a href="message_action_geo_proximity_reached.html">MessageActionGeoProximityReached</a></td></tr><tr><td><a href="message_action_gift_code.html">MessageActionGiftCode</a></td><td><a href="message_action_gift_premium.html">MessageActionGiftPremium</a></td></tr><tr><td><a href="message_action_gift_stars.html">MessageActionGiftStars</a></td><td><a href="message_action_giveaway_launch.html">MessageActionGiveawayLaunch</a></td></tr><tr><td><a href="message_action_giveaway_results.html">MessageActionGiveawayResults</a></td><td><a href="message_action_group_call.html">MessageActionGroupCall</a></td></tr><tr><td><a href="message_action_group_call_scheduled.html">MessageActionGroupCallScheduled</a></td><td><a href="message_action_history_clear.html">MessageActionHistoryClear</a></td></tr><tr><td><a href="message_action_invite_to_group_call.html">MessageActionInviteToGroupCall</a></td><td><a href="message_action_payment_refunded.html">MessageActionPaymentRefunded</a></td></tr><tr><td><a href="message_action_payment_sent.html">MessageActionPaymentSent</a></td><td><a href="message_action_payment_sent_me.html">MessageActionPaymentSentMe</a></td></tr><tr><td><a href="message_action_phone_call.html">MessageActionPhoneCall</a></td><td><a href="message_action_pin_message.html">MessageActionPinMessage</a></td></tr><tr><td><a href="message_action_prize_stars.html">MessageActionPrizeStars</a></td><td><a href="message_action_requested_peer.html">MessageActionRequestedPeer</a></td></tr><tr><td><a href="message_action_requested_peer_sent_me.html">MessageActionRequestedPeerSentMe</a></td><td><a href="message_action_screenshot_t