mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-26 12:25:08 +01:00
Bump
This commit is contained in:
parent
ebe6a3f62f
commit
fde9838eb2
@ -25,6 +25,7 @@ Info about one or more [boosts](https://core.telegram.org/api/boost) applied by
|
||||
|expires|[int](/API_docs/types/int.html) | Yes|When does the boost expire|
|
||||
|used\_gift\_slug|[string](/API_docs/types/string.html) | Optional|The created Telegram Premium gift code, only set if either `gift` or `giveaway` are set AND it is either a gift code for the currently logged in user or if it was already claimed.|
|
||||
|multiplier|[int](/API_docs/types/int.html) | Optional|If set, this boost counts as `multiplier` boosts, otherwise it counts as a single boost.|
|
||||
|stars|[long](/API_docs/types/long.html) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -34,5 +35,5 @@ Info about one or more [boosts](https://core.telegram.org/api/boost) applied by
|
||||
### Example:
|
||||
|
||||
```
|
||||
$boost = ['_' => 'boost', 'gift' => Bool, 'giveaway' => Bool, 'unclaimed' => Bool, 'id' => 'string', 'user_id' => long, 'giveaway_msg_id' => int, 'date' => int, 'expires' => int, 'used_gift_slug' => 'string', 'multiplier' => int];
|
||||
$boost = ['_' => 'boost', 'gift' => Bool, 'giveaway' => Bool, 'unclaimed' => Bool, 'id' => 'string', 'user_id' => long, 'giveaway_msg_id' => int, 'date' => int, 'expires' => int, 'used_gift_slug' => 'string', 'multiplier' => int, 'stars' => long];
|
||||
```
|
||||
|
@ -13,6 +13,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|withdrawal\_enabled|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|current\_balance|[long](/API_docs/types/long.html) | Yes|
|
||||
|available\_balance|[long](/API_docs/types/long.html) | Yes|
|
||||
|overall\_revenue|[long](/API_docs/types/long.html) | Yes|
|
||||
@ -25,5 +26,5 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$broadcastRevenueBalances = ['_' => 'broadcastRevenueBalances', 'current_balance' => long, 'available_balance' => long, 'overall_revenue' => long];
|
||||
$broadcastRevenueBalances = ['_' => 'broadcastRevenueBalances', 'withdrawal_enabled' => Bool, 'current_balance' => long, 'available_balance' => long, 'overall_revenue' => long];
|
||||
```
|
||||
|
@ -0,0 +1,28 @@
|
||||
---
|
||||
title: "channelAdminLogEventActionParticipantSubExtend"
|
||||
description: "channelAdminLogEventActionParticipantSubExtend attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionParticipantSubExtend
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_participant|[ChannelParticipant](/API_docs/types/ChannelParticipant.html) | Yes|
|
||||
|new\_participant|[ChannelParticipant](/API_docs/types/ChannelParticipant.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [ChannelAdminLogEventAction](/API_docs/types/ChannelAdminLogEventAction.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$channelAdminLogEventActionParticipantSubExtend = ['_' => 'channelAdminLogEventActionParticipantSubExtend', 'prev_participant' => ChannelParticipant, 'new_participant' => ChannelParticipant];
|
||||
```
|
@ -33,6 +33,7 @@ Filter only certain admin log events
|
||||
|invites|[Bool](/API_docs/types/Bool.html) | Optional|Invite events|
|
||||
|send|[Bool](/API_docs/types/Bool.html) | Optional|A message was posted in a channel|
|
||||
|forums|[Bool](/API_docs/types/Bool.html) | Optional|[Forum](https://core.telegram.org/api/forum)-related events|
|
||||
|sub\_extend|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -42,5 +43,5 @@ Filter only certain admin log events
|
||||
### Example:
|
||||
|
||||
```
|
||||
$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool, 'group_call' => Bool, 'invites' => Bool, 'send' => Bool, 'forums' => Bool];
|
||||
$channelAdminLogEventsFilter = ['_' => 'channelAdminLogEventsFilter', 'join' => Bool, 'leave' => Bool, 'invite' => Bool, 'ban' => Bool, 'unban' => Bool, 'kick' => Bool, 'unkick' => Bool, 'promote' => Bool, 'demote' => Bool, 'info' => Bool, 'settings' => Bool, 'pinned' => Bool, 'edit' => Bool, 'delete' => Bool, 'group_call' => Bool, 'invites' => Bool, 'send' => Bool, 'forums' => Bool, 'sub_extend' => Bool];
|
||||
```
|
||||
|
@ -260,7 +260,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$boolTrue](/API_docs/constructors/boolTrue.html) = \[\];<a name="boolTrue"></a>
|
||||
|
||||
***
|
||||
<br><br>[$boost](/API_docs/constructors/boost.html) = \['gift' => [Bool](/API_docs/types/Bool.html), 'giveaway' => [Bool](/API_docs/types/Bool.html), 'unclaimed' => [Bool](/API_docs/types/Bool.html), 'id' => [string](/API_docs/types/string.html), 'user_id' => [long](/API_docs/types/long.html), 'giveaway_msg_id' => [int](/API_docs/types/int.html), 'date' => [int](/API_docs/types/int.html), 'expires' => [int](/API_docs/types/int.html), 'used_gift_slug' => [string](/API_docs/types/string.html), 'multiplier' => [int](/API_docs/types/int.html), \];<a name="boost"></a>
|
||||
<br><br>[$boost](/API_docs/constructors/boost.html) = \['gift' => [Bool](/API_docs/types/Bool.html), 'giveaway' => [Bool](/API_docs/types/Bool.html), 'unclaimed' => [Bool](/API_docs/types/Bool.html), 'id' => [string](/API_docs/types/string.html), 'user_id' => [long](/API_docs/types/long.html), 'giveaway_msg_id' => [int](/API_docs/types/int.html), 'date' => [int](/API_docs/types/int.html), 'expires' => [int](/API_docs/types/int.html), 'used_gift_slug' => [string](/API_docs/types/string.html), 'multiplier' => [int](/API_docs/types/int.html), 'stars' => [long](/API_docs/types/long.html), \];<a name="boost"></a>
|
||||
|
||||
***
|
||||
<br><br>[$botApp](/API_docs/constructors/botApp.html) = \['id' => [long](/API_docs/types/long.html), 'access_hash' => [long](/API_docs/types/long.html), 'short_name' => [string](/API_docs/types/string.html), 'title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'photo' => [Photo](/API_docs/types/Photo.html), 'document' => [Document](/API_docs/types/Document.html), 'hash' => [long](/API_docs/types/long.html), \];<a name="botApp"></a>
|
||||
@ -347,7 +347,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$bots.previewInfo](/API_docs/constructors/bots.previewInfo.html) = \['media' => \[[BotPreviewMedia](/API_docs/types/BotPreviewMedia.html)\], 'lang_codes' => \[[string](/API_docs/types/string.html)\], \];<a name="bots.previewInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>[$broadcastRevenueBalances](/API_docs/constructors/broadcastRevenueBalances.html) = \['current_balance' => [long](/API_docs/types/long.html), 'available_balance' => [long](/API_docs/types/long.html), 'overall_revenue' => [long](/API_docs/types/long.html), \];<a name="broadcastRevenueBalances"></a>
|
||||
<br><br>[$broadcastRevenueBalances](/API_docs/constructors/broadcastRevenueBalances.html) = \['withdrawal_enabled' => [Bool](/API_docs/types/Bool.html), 'current_balance' => [long](/API_docs/types/long.html), 'available_balance' => [long](/API_docs/types/long.html), 'overall_revenue' => [long](/API_docs/types/long.html), \];<a name="broadcastRevenueBalances"></a>
|
||||
|
||||
***
|
||||
<br><br>[$broadcastRevenueTransactionProceeds](/API_docs/constructors/broadcastRevenueTransactionProceeds.html) = \['amount' => [long](/API_docs/types/long.html), 'from_date' => [int](/API_docs/types/int.html), 'to_date' => [int](/API_docs/types/int.html), \];<a name="broadcastRevenueTransactionProceeds"></a>
|
||||
@ -499,6 +499,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$channelAdminLogEventActionParticipantMute](/API_docs/constructors/channelAdminLogEventActionParticipantMute.html) = \['participant' => [GroupCallParticipant](/API_docs/types/GroupCallParticipant.html), \];<a name="channelAdminLogEventActionParticipantMute"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelAdminLogEventActionParticipantSubExtend](/API_docs/constructors/channelAdminLogEventActionParticipantSubExtend.html) = \['prev_participant' => [ChannelParticipant](/API_docs/types/ChannelParticipant.html), 'new_participant' => [ChannelParticipant](/API_docs/types/ChannelParticipant.html), \];<a name="channelAdminLogEventActionParticipantSubExtend"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelAdminLogEventActionParticipantToggleAdmin](/API_docs/constructors/channelAdminLogEventActionParticipantToggleAdmin.html) = \['prev_participant' => [ChannelParticipant](/API_docs/types/ChannelParticipant.html), 'new_participant' => [ChannelParticipant](/API_docs/types/ChannelParticipant.html), \];<a name="channelAdminLogEventActionParticipantToggleAdmin"></a>
|
||||
|
||||
@ -554,7 +557,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$channelAdminLogEventActionUpdatePinned](/API_docs/constructors/channelAdminLogEventActionUpdatePinned.html) = \['message' => [Message](/API_docs/types/Message.html), \];<a name="channelAdminLogEventActionUpdatePinned"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelAdminLogEventsFilter](/API_docs/constructors/channelAdminLogEventsFilter.html) = \['join' => [Bool](/API_docs/types/Bool.html), 'leave' => [Bool](/API_docs/types/Bool.html), 'invite' => [Bool](/API_docs/types/Bool.html), 'ban' => [Bool](/API_docs/types/Bool.html), 'unban' => [Bool](/API_docs/types/Bool.html), 'kick' => [Bool](/API_docs/types/Bool.html), 'unkick' => [Bool](/API_docs/types/Bool.html), 'promote' => [Bool](/API_docs/types/Bool.html), 'demote' => [Bool](/API_docs/types/Bool.html), 'info' => [Bool](/API_docs/types/Bool.html), 'settings' => [Bool](/API_docs/types/Bool.html), 'pinned' => [Bool](/API_docs/types/Bool.html), 'edit' => [Bool](/API_docs/types/Bool.html), 'delete' => [Bool](/API_docs/types/Bool.html), 'group_call' => [Bool](/API_docs/types/Bool.html), 'invites' => [Bool](/API_docs/types/Bool.html), 'send' => [Bool](/API_docs/types/Bool.html), 'forums' => [Bool](/API_docs/types/Bool.html), \];<a name="channelAdminLogEventsFilter"></a>
|
||||
<br><br>[$channelAdminLogEventsFilter](/API_docs/constructors/channelAdminLogEventsFilter.html) = \['join' => [Bool](/API_docs/types/Bool.html), 'leave' => [Bool](/API_docs/types/Bool.html), 'invite' => [Bool](/API_docs/types/Bool.html), 'ban' => [Bool](/API_docs/types/Bool.html), 'unban' => [Bool](/API_docs/types/Bool.html), 'kick' => [Bool](/API_docs/types/Bool.html), 'unkick' => [Bool](/API_docs/types/Bool.html), 'promote' => [Bool](/API_docs/types/Bool.html), 'demote' => [Bool](/API_docs/types/Bool.html), 'info' => [Bool](/API_docs/types/Bool.html), 'settings' => [Bool](/API_docs/types/Bool.html), 'pinned' => [Bool](/API_docs/types/Bool.html), 'edit' => [Bool](/API_docs/types/Bool.html), 'delete' => [Bool](/API_docs/types/Bool.html), 'group_call' => [Bool](/API_docs/types/Bool.html), 'invites' => [Bool](/API_docs/types/Bool.html), 'send' => [Bool](/API_docs/types/Bool.html), 'forums' => [Bool](/API_docs/types/Bool.html), 'sub_extend' => [Bool](/API_docs/types/Bool.html), \];<a name="channelAdminLogEventsFilter"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelForbidden](/API_docs/constructors/channelForbidden.html) = \['broadcast' => [Bool](/API_docs/types/Bool.html), 'megagroup' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'access_hash' => [long](/API_docs/types/long.html), 'title' => [string](/API_docs/types/string.html), 'until_date' => [int](/API_docs/types/int.html), \];<a name="channelForbidden"></a>
|
||||
@ -1439,7 +1442,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$inputMediaInvoice](/API_docs/constructors/inputMediaInvoice.html) = \['title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'photo' => [InputWebDocument](/API_docs/types/InputWebDocument.html), 'invoice' => [Invoice](/API_docs/types/Invoice.html), 'payload' => [bytes](/API_docs/types/bytes.html), 'provider' => [string](/API_docs/types/string.html), 'provider_data' => [DataJSON](/API_docs/types/DataJSON.html), 'start_param' => [string](/API_docs/types/string.html), 'extended_media' => [InputMedia](/API_docs/types/InputMedia.html), \];<a name="inputMediaInvoice"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputMediaPaidMedia](/API_docs/constructors/inputMediaPaidMedia.html) = \['stars_amount' => [long](/API_docs/types/long.html), 'extended_media' => \[[InputMedia](/API_docs/types/InputMedia.html)\], \];<a name="inputMediaPaidMedia"></a>
|
||||
<br><br>[$inputMediaPaidMedia](/API_docs/constructors/inputMediaPaidMedia.html) = \['stars_amount' => [long](/API_docs/types/long.html), 'extended_media' => \[[InputMedia](/API_docs/types/InputMedia.html)\], 'payload' => [string](/API_docs/types/string.html), \];<a name="inputMediaPaidMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputMediaPhoto](/API_docs/constructors/inputMediaPhoto.html) = \['spoiler' => [Bool](/API_docs/types/Bool.html), 'id' => [InputPhoto](/API_docs/types/InputPhoto.html), 'ttl_seconds' => [int](/API_docs/types/int.html), \];<a name="inputMediaPhoto"></a>
|
||||
@ -1786,6 +1789,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$inputStorePaymentStarsGift](/API_docs/constructors/inputStorePaymentStarsGift.html) = \['user_id' => [InputUser](/API_docs/types/InputUser.html), 'stars' => [long](/API_docs/types/long.html), 'currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), \];<a name="inputStorePaymentStarsGift"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputStorePaymentStarsGiveaway](/API_docs/constructors/inputStorePaymentStarsGiveaway.html) = \['only_new_subscribers' => [Bool](/API_docs/types/Bool.html), 'winners_are_visible' => [Bool](/API_docs/types/Bool.html), 'stars' => [long](/API_docs/types/long.html), 'boost_peer' => [InputPeer](/API_docs/types/InputPeer.html), 'additional_peers' => \[[InputPeer](/API_docs/types/InputPeer.html)\], 'countries_iso2' => \[[string](/API_docs/types/string.html)\], 'prize_description' => [string](/API_docs/types/string.html), 'until_date' => [int](/API_docs/types/int.html), 'currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), 'users' => [int](/API_docs/types/int.html), \];<a name="inputStorePaymentStarsGiveaway"></a>
|
||||
|
||||
***
|
||||
<br><br>[$inputStorePaymentStarsTopup](/API_docs/constructors/inputStorePaymentStarsTopup.html) = \['stars' => [long](/API_docs/types/long.html), 'currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), \];<a name="inputStorePaymentStarsTopup"></a>
|
||||
|
||||
@ -2012,10 +2018,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$messageActionGiftStars](/API_docs/constructors/messageActionGiftStars.html) = \['currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), 'stars' => [long](/API_docs/types/long.html), 'crypto_currency' => [string](/API_docs/types/string.html), 'crypto_amount' => [long](/API_docs/types/long.html), 'transaction_id' => [string](/API_docs/types/string.html), \];<a name="messageActionGiftStars"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionGiveawayLaunch](/API_docs/constructors/messageActionGiveawayLaunch.html) = \[\];<a name="messageActionGiveawayLaunch"></a>
|
||||
<br><br>[$messageActionGiveawayLaunch](/API_docs/constructors/messageActionGiveawayLaunch.html) = \['stars' => [long](/API_docs/types/long.html), \];<a name="messageActionGiveawayLaunch"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionGiveawayResults](/API_docs/constructors/messageActionGiveawayResults.html) = \['winners_count' => [int](/API_docs/types/int.html), 'unclaimed_count' => [int](/API_docs/types/int.html), \];<a name="messageActionGiveawayResults"></a>
|
||||
<br><br>[$messageActionGiveawayResults](/API_docs/constructors/messageActionGiveawayResults.html) = \['stars' => [Bool](/API_docs/types/Bool.html), 'winners_count' => [int](/API_docs/types/int.html), 'unclaimed_count' => [int](/API_docs/types/int.html), \];<a name="messageActionGiveawayResults"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionGroupCall](/API_docs/constructors/messageActionGroupCall.html) = \['call' => [InputGroupCall](/API_docs/types/InputGroupCall.html), 'duration' => [int](/API_docs/types/int.html), \];<a name="messageActionGroupCall"></a>
|
||||
@ -2044,6 +2050,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$messageActionPinMessage](/API_docs/constructors/messageActionPinMessage.html) = \[\];<a name="messageActionPinMessage"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionPrizeStars](/API_docs/constructors/messageActionPrizeStars.html) = \['unclaimed' => [Bool](/API_docs/types/Bool.html), 'stars' => [long](/API_docs/types/long.html), 'transaction_id' => [string](/API_docs/types/string.html), 'boost_peer' => [Peer](/API_docs/types/Peer.html), 'giveaway_msg_id' => [int](/API_docs/types/int.html), \];<a name="messageActionPrizeStars"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionRequestedPeer](/API_docs/constructors/messageActionRequestedPeer.html) = \['button_id' => [int](/API_docs/types/int.html), 'peers' => \[[Peer](/API_docs/types/Peer.html)\], \];<a name="messageActionRequestedPeer"></a>
|
||||
|
||||
@ -2177,10 +2186,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$messageMediaGeoLive](/API_docs/constructors/messageMediaGeoLive.html) = \['geo' => [GeoPoint](/API_docs/types/GeoPoint.html), 'heading' => [int](/API_docs/types/int.html), 'period' => [int](/API_docs/types/int.html), 'proximity_notification_radius' => [int](/API_docs/types/int.html), \];<a name="messageMediaGeoLive"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageMediaGiveaway](/API_docs/constructors/messageMediaGiveaway.html) = \['only_new_subscribers' => [Bool](/API_docs/types/Bool.html), 'winners_are_visible' => [Bool](/API_docs/types/Bool.html), 'channels' => \[[long](/API_docs/types/long.html)\], 'countries_iso2' => \[[string](/API_docs/types/string.html)\], 'prize_description' => [string](/API_docs/types/string.html), 'quantity' => [int](/API_docs/types/int.html), 'months' => [int](/API_docs/types/int.html), 'until_date' => [int](/API_docs/types/int.html), \];<a name="messageMediaGiveaway"></a>
|
||||
<br><br>[$messageMediaGiveaway](/API_docs/constructors/messageMediaGiveaway.html) = \['only_new_subscribers' => [Bool](/API_docs/types/Bool.html), 'winners_are_visible' => [Bool](/API_docs/types/Bool.html), 'channels' => \[[long](/API_docs/types/long.html)\], 'countries_iso2' => \[[string](/API_docs/types/string.html)\], 'prize_description' => [string](/API_docs/types/string.html), 'quantity' => [int](/API_docs/types/int.html), 'months' => [int](/API_docs/types/int.html), 'stars' => [long](/API_docs/types/long.html), 'until_date' => [int](/API_docs/types/int.html), \];<a name="messageMediaGiveaway"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageMediaGiveawayResults](/API_docs/constructors/messageMediaGiveawayResults.html) = \['only_new_subscribers' => [Bool](/API_docs/types/Bool.html), 'refunded' => [Bool](/API_docs/types/Bool.html), 'channel_id' => [long](/API_docs/types/long.html), 'additional_peers_count' => [int](/API_docs/types/int.html), 'launch_msg_id' => [int](/API_docs/types/int.html), 'winners_count' => [int](/API_docs/types/int.html), 'unclaimed_count' => [int](/API_docs/types/int.html), 'winners' => \[[long](/API_docs/types/long.html)\], 'months' => [int](/API_docs/types/int.html), 'prize_description' => [string](/API_docs/types/string.html), 'until_date' => [int](/API_docs/types/int.html), \];<a name="messageMediaGiveawayResults"></a>
|
||||
<br><br>[$messageMediaGiveawayResults](/API_docs/constructors/messageMediaGiveawayResults.html) = \['only_new_subscribers' => [Bool](/API_docs/types/Bool.html), 'refunded' => [Bool](/API_docs/types/Bool.html), 'channel_id' => [long](/API_docs/types/long.html), 'additional_peers_count' => [int](/API_docs/types/int.html), 'launch_msg_id' => [int](/API_docs/types/int.html), 'winners_count' => [int](/API_docs/types/int.html), 'unclaimed_count' => [int](/API_docs/types/int.html), 'winners' => \[[long](/API_docs/types/long.html)\], 'months' => [int](/API_docs/types/int.html), 'stars' => [long](/API_docs/types/long.html), 'prize_description' => [string](/API_docs/types/string.html), 'until_date' => [int](/API_docs/types/int.html), \];<a name="messageMediaGiveawayResults"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageMediaInvoice](/API_docs/constructors/messageMediaInvoice.html) = \['shipping_address_requested' => [Bool](/API_docs/types/Bool.html), 'test' => [Bool](/API_docs/types/Bool.html), 'title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'photo' => [WebDocument](/API_docs/types/WebDocument.html), 'receipt_msg_id' => [int](/API_docs/types/int.html), 'currency' => [string](/API_docs/types/string.html), 'total_amount' => [long](/API_docs/types/long.html), 'start_param' => [string](/API_docs/types/string.html), 'extended_media' => [MessageExtendedMedia](/API_docs/types/MessageExtendedMedia.html), \];<a name="messageMediaInvoice"></a>
|
||||
@ -2678,7 +2687,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$payments.giveawayInfo](/API_docs/constructors/payments.giveawayInfo.html) = \['participating' => [Bool](/API_docs/types/Bool.html), 'preparing_results' => [Bool](/API_docs/types/Bool.html), 'start_date' => [int](/API_docs/types/int.html), 'joined_too_early_date' => [int](/API_docs/types/int.html), 'admin_disallowed_chat_id' => [long](/API_docs/types/long.html), 'disallowed_country' => [string](/API_docs/types/string.html), \];<a name="payments.giveawayInfo"></a>
|
||||
|
||||
***
|
||||
<br><br>[$payments.giveawayInfoResults](/API_docs/constructors/payments.giveawayInfoResults.html) = \['winner' => [Bool](/API_docs/types/Bool.html), 'refunded' => [Bool](/API_docs/types/Bool.html), 'start_date' => [int](/API_docs/types/int.html), 'gift_code_slug' => [string](/API_docs/types/string.html), 'finish_date' => [int](/API_docs/types/int.html), 'winners_count' => [int](/API_docs/types/int.html), 'activated_count' => [int](/API_docs/types/int.html), \];<a name="payments.giveawayInfoResults"></a>
|
||||
<br><br>[$payments.giveawayInfoResults](/API_docs/constructors/payments.giveawayInfoResults.html) = \['winner' => [Bool](/API_docs/types/Bool.html), 'refunded' => [Bool](/API_docs/types/Bool.html), 'start_date' => [int](/API_docs/types/int.html), 'gift_code_slug' => [string](/API_docs/types/string.html), 'stars_prize' => [long](/API_docs/types/long.html), 'finish_date' => [int](/API_docs/types/int.html), 'winners_count' => [int](/API_docs/types/int.html), 'activated_count' => [int](/API_docs/types/int.html), \];<a name="payments.giveawayInfoResults"></a>
|
||||
|
||||
***
|
||||
<br><br>[$payments.paymentForm](/API_docs/constructors/payments.paymentForm.html) = \['can_save_credentials' => [Bool](/API_docs/types/Bool.html), 'password_missing' => [Bool](/API_docs/types/Bool.html), 'form_id' => [long](/API_docs/types/long.html), 'bot_id' => [long](/API_docs/types/long.html), 'title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'photo' => [WebDocument](/API_docs/types/WebDocument.html), 'invoice' => [Invoice](/API_docs/types/Invoice.html), 'provider_id' => [long](/API_docs/types/long.html), 'url' => [string](/API_docs/types/string.html), 'native_provider' => [string](/API_docs/types/string.html), 'native_params' => [DataJSON](/API_docs/types/DataJSON.html), 'additional_methods' => \[[PaymentFormMethod](/API_docs/types/PaymentFormMethod.html)\], 'saved_info' => [PaymentRequestedInfo](/API_docs/types/PaymentRequestedInfo.html), 'saved_credentials' => \[[PaymentSavedCredentials](/API_docs/types/PaymentSavedCredentials.html)\], 'users' => \[[User](/API_docs/types/User.html)\], \];<a name="payments.paymentForm"></a>
|
||||
@ -2884,6 +2893,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$prepaidGiveaway](/API_docs/constructors/prepaidGiveaway.html) = \['id' => [long](/API_docs/types/long.html), 'months' => [int](/API_docs/types/int.html), 'quantity' => [int](/API_docs/types/int.html), 'date' => [int](/API_docs/types/int.html), \];<a name="prepaidGiveaway"></a>
|
||||
|
||||
***
|
||||
<br><br>[$prepaidStarsGiveaway](/API_docs/constructors/prepaidStarsGiveaway.html) = \['id' => [long](/API_docs/types/long.html), 'stars' => [long](/API_docs/types/long.html), 'quantity' => [int](/API_docs/types/int.html), 'boosts' => [int](/API_docs/types/int.html), 'date' => [int](/API_docs/types/int.html), \];<a name="prepaidStarsGiveaway"></a>
|
||||
|
||||
***
|
||||
<br><br>[$privacyKeyAbout](/API_docs/constructors/privacyKeyAbout.html) = \[\];<a name="privacyKeyAbout"></a>
|
||||
|
||||
@ -3235,6 +3247,12 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$starsGiftOption](/API_docs/constructors/starsGiftOption.html) = \['extended' => [Bool](/API_docs/types/Bool.html), 'stars' => [long](/API_docs/types/long.html), 'store_product' => [string](/API_docs/types/string.html), 'currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), \];<a name="starsGiftOption"></a>
|
||||
|
||||
***
|
||||
<br><br>[$starsGiveawayOption](/API_docs/constructors/starsGiveawayOption.html) = \['extended' => [Bool](/API_docs/types/Bool.html), 'default' => [Bool](/API_docs/types/Bool.html), 'stars' => [long](/API_docs/types/long.html), 'yearly_boosts' => [int](/API_docs/types/int.html), 'store_product' => [string](/API_docs/types/string.html), 'currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), 'winners' => \[[StarsGiveawayWinnersOption](/API_docs/types/StarsGiveawayWinnersOption.html)\], \];<a name="starsGiveawayOption"></a>
|
||||
|
||||
***
|
||||
<br><br>[$starsGiveawayWinnersOption](/API_docs/constructors/starsGiveawayWinnersOption.html) = \['default' => [Bool](/API_docs/types/Bool.html), 'users' => [int](/API_docs/types/int.html), 'per_user_stars' => [long](/API_docs/types/long.html), \];<a name="starsGiveawayWinnersOption"></a>
|
||||
|
||||
***
|
||||
<br><br>[$starsRevenueStatus](/API_docs/constructors/starsRevenueStatus.html) = \['withdrawal_enabled' => [Bool](/API_docs/types/Bool.html), 'current_balance' => [long](/API_docs/types/long.html), 'available_balance' => [long](/API_docs/types/long.html), 'overall_revenue' => [long](/API_docs/types/long.html), 'next_withdrawal_at' => [int](/API_docs/types/int.html), \];<a name="starsRevenueStatus"></a>
|
||||
|
||||
@ -3248,7 +3266,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$starsTopupOption](/API_docs/constructors/starsTopupOption.html) = \['extended' => [Bool](/API_docs/types/Bool.html), 'stars' => [long](/API_docs/types/long.html), 'store_product' => [string](/API_docs/types/string.html), 'currency' => [string](/API_docs/types/string.html), 'amount' => [long](/API_docs/types/long.html), \];<a name="starsTopupOption"></a>
|
||||
|
||||
***
|
||||
<br><br>[$starsTransaction](/API_docs/constructors/starsTransaction.html) = \['refund' => [Bool](/API_docs/types/Bool.html), 'pending' => [Bool](/API_docs/types/Bool.html), 'failed' => [Bool](/API_docs/types/Bool.html), 'gift' => [Bool](/API_docs/types/Bool.html), 'reaction' => [Bool](/API_docs/types/Bool.html), 'id' => [string](/API_docs/types/string.html), 'stars' => [long](/API_docs/types/long.html), 'date' => [int](/API_docs/types/int.html), 'peer' => [StarsTransactionPeer](/API_docs/types/StarsTransactionPeer.html), 'title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'photo' => [WebDocument](/API_docs/types/WebDocument.html), 'transaction_date' => [int](/API_docs/types/int.html), 'transaction_url' => [string](/API_docs/types/string.html), 'bot_payload' => [bytes](/API_docs/types/bytes.html), 'msg_id' => [int](/API_docs/types/int.html), 'extended_media' => \[[MessageMedia](/API_docs/types/MessageMedia.html)\], 'subscription_period' => [int](/API_docs/types/int.html), \];<a name="starsTransaction"></a>
|
||||
<br><br>[$starsTransaction](/API_docs/constructors/starsTransaction.html) = \['refund' => [Bool](/API_docs/types/Bool.html), 'pending' => [Bool](/API_docs/types/Bool.html), 'failed' => [Bool](/API_docs/types/Bool.html), 'gift' => [Bool](/API_docs/types/Bool.html), 'reaction' => [Bool](/API_docs/types/Bool.html), 'id' => [string](/API_docs/types/string.html), 'stars' => [long](/API_docs/types/long.html), 'date' => [int](/API_docs/types/int.html), 'peer' => [StarsTransactionPeer](/API_docs/types/StarsTransactionPeer.html), 'title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'photo' => [WebDocument](/API_docs/types/WebDocument.html), 'transaction_date' => [int](/API_docs/types/int.html), 'transaction_url' => [string](/API_docs/types/string.html), 'bot_payload' => [bytes](/API_docs/types/bytes.html), 'msg_id' => [int](/API_docs/types/int.html), 'extended_media' => \[[MessageMedia](/API_docs/types/MessageMedia.html)\], 'subscription_period' => [int](/API_docs/types/int.html), 'giveaway_post_id' => [int](/API_docs/types/int.html), \];<a name="starsTransaction"></a>
|
||||
|
||||
***
|
||||
<br><br>[$starsTransactionPeer](/API_docs/constructors/starsTransactionPeer.html) = \['peer' => [long](/API_docs/types/long.html), \];<a name="starsTransactionPeer"></a>
|
||||
@ -3583,6 +3601,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$updateBotPrecheckoutQuery](/API_docs/constructors/updateBotPrecheckoutQuery.html) = \['query_id' => [long](/API_docs/types/long.html), 'user_id' => [long](/API_docs/types/long.html), 'payload' => [bytes](/API_docs/types/bytes.html), 'info' => [PaymentRequestedInfo](/API_docs/types/PaymentRequestedInfo.html), 'shipping_option_id' => [string](/API_docs/types/string.html), 'currency' => [string](/API_docs/types/string.html), 'total_amount' => [long](/API_docs/types/long.html), \];<a name="updateBotPrecheckoutQuery"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updateBotPurchasedPaidMedia](/API_docs/constructors/updateBotPurchasedPaidMedia.html) = \['user_id' => [long](/API_docs/types/long.html), 'payload' => [string](/API_docs/types/string.html), 'qts' => [int](/API_docs/types/int.html), \];<a name="updateBotPurchasedPaidMedia"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updateBotShippingQuery](/API_docs/constructors/updateBotShippingQuery.html) = \['query_id' => [long](/API_docs/types/long.html), 'user_id' => [long](/API_docs/types/long.html), 'payload' => [bytes](/API_docs/types/bytes.html), 'shipping_address' => [PostAddress](/API_docs/types/PostAddress.html), \];<a name="updateBotShippingQuery"></a>
|
||||
|
||||
@ -3793,6 +3814,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$updateNotifySettings](/API_docs/constructors/updateNotifySettings.html) = \['peer' => [NotifyPeer](/API_docs/types/NotifyPeer.html), 'notify_settings' => [PeerNotifySettings](/API_docs/types/PeerNotifySettings.html), \];<a name="updateNotifySettings"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updatePaidReactionPrivacy](/API_docs/constructors/updatePaidReactionPrivacy.html) = \['private' => [Bool](/API_docs/types/Bool.html), \];<a name="updatePaidReactionPrivacy"></a>
|
||||
|
||||
***
|
||||
<br><br>[$updatePeerBlocked](/API_docs/constructors/updatePeerBlocked.html) = \['blocked' => [Bool](/API_docs/types/Bool.html), 'blocked_my_stories_from' => [Bool](/API_docs/types/Bool.html), 'peer_id' => [Peer](/API_docs/types/Peer.html), \];<a name="updatePeerBlocked"></a>
|
||||
|
||||
|
@ -15,6 +15,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|----------|---------------|----------|
|
||||
|stars\_amount|[long](/API_docs/types/long.html) | Yes|
|
||||
|extended\_media|Array of [MessageMedia, Message, Update or InputMedia](/API_docs/types/InputMedia.html) | Yes|
|
||||
|payload|[string](/API_docs/types/string.html) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -24,5 +25,5 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputMediaPaidMedia = ['_' => 'inputMediaPaidMedia', 'stars_amount' => long, 'extended_media' => [InputMedia, InputMedia]];
|
||||
$inputMediaPaidMedia = ['_' => 'inputMediaPaidMedia', 'stars_amount' => long, 'extended_media' => [InputMedia, InputMedia], 'payload' => 'string'];
|
||||
```
|
||||
|
37
docs/API_docs/constructors/inputStorePaymentStarsGiveaway.md
Normal file
37
docs/API_docs/constructors/inputStorePaymentStarsGiveaway.md
Normal file
@ -0,0 +1,37 @@
|
||||
---
|
||||
title: "inputStorePaymentStarsGiveaway"
|
||||
description: "inputStorePaymentStarsGiveaway attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputStorePaymentStarsGiveaway
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|only\_new\_subscribers|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|winners\_are\_visible|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|stars|[long](/API_docs/types/long.html) | Yes|
|
||||
|boost\_peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|
|
||||
|additional\_peers|Array of [Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|
|
||||
|countries\_iso2|Array of [string](/API_docs/types/string.html) | Optional|
|
||||
|prize\_description|[string](/API_docs/types/string.html) | Optional|
|
||||
|until\_date|[int](/API_docs/types/int.html) | Yes|
|
||||
|currency|[string](/API_docs/types/string.html) | Yes|
|
||||
|amount|[long](/API_docs/types/long.html) | Yes|
|
||||
|users|[int](/API_docs/types/int.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [InputStorePaymentPurpose](/API_docs/types/InputStorePaymentPurpose.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$inputStorePaymentStarsGiveaway = ['_' => 'inputStorePaymentStarsGiveaway', 'only_new_subscribers' => Bool, 'winners_are_visible' => Bool, 'stars' => long, 'boost_peer' => InputPeer, 'additional_peers' => [InputPeer, InputPeer], 'countries_iso2' => ['string', 'string'], 'prize_description' => 'string', 'until_date' => int, 'currency' => 'string', 'amount' => long, 'users' => int];
|
||||
```
|
@ -11,6 +11,11 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
A [giveaway](https://core.telegram.org/api/giveaways) was started.
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|stars|[long](/API_docs/types/long.html) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -20,5 +25,5 @@ A [giveaway](https://core.telegram.org/api/giveaways) was started.
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionGiveawayLaunch = ['_' => 'messageActionGiveawayLaunch'];
|
||||
$messageActionGiveawayLaunch = ['_' => 'messageActionGiveawayLaunch', 'stars' => long];
|
||||
```
|
||||
|
@ -15,6 +15,7 @@ A [giveaway](https://core.telegram.org/api/giveaways) has ended.
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|stars|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|winners\_count|[int](/API_docs/types/int.html) | Yes|Number of winners in the giveaway|
|
||||
|unclaimed\_count|[int](/API_docs/types/int.html) | Yes|Number of undistributed prizes|
|
||||
|
||||
@ -26,5 +27,5 @@ A [giveaway](https://core.telegram.org/api/giveaways) has ended.
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionGiveawayResults = ['_' => 'messageActionGiveawayResults', 'winners_count' => int, 'unclaimed_count' => int];
|
||||
$messageActionGiveawayResults = ['_' => 'messageActionGiveawayResults', 'stars' => Bool, 'winners_count' => int, 'unclaimed_count' => int];
|
||||
```
|
||||
|
31
docs/API_docs/constructors/messageActionPrizeStars.md
Normal file
31
docs/API_docs/constructors/messageActionPrizeStars.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "messageActionPrizeStars"
|
||||
description: "messageActionPrizeStars attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageActionPrizeStars
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|unclaimed|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|stars|[long](/API_docs/types/long.html) | Yes|
|
||||
|transaction\_id|[string](/API_docs/types/string.html) | Yes|
|
||||
|boost\_peer|[Peer](/API_docs/types/Peer.html) | Yes|
|
||||
|giveaway\_msg\_id|[int](/API_docs/types/int.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageAction](/API_docs/types/MessageAction.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionPrizeStars = ['_' => 'messageActionPrizeStars', 'unclaimed' => Bool, 'stars' => long, 'transaction_id' => 'string', 'boost_peer' => Peer, 'giveaway_msg_id' => int];
|
||||
```
|
@ -21,7 +21,8 @@ Contains info about a [giveaway, see here »](https://core.telegram.org/api/give
|
||||
|countries\_iso2|Array of [string](/API_docs/types/string.html) | Optional|If set, only users residing in these countries can participate in the giveaway, (specified as a list of two-letter ISO 3166-1 alpha-2 country codes); otherwise there are no country-based limitations.|
|
||||
|prize\_description|[string](/API_docs/types/string.html) | Optional|Can contain a textual description of additional giveaway prizes.|
|
||||
|quantity|[int](/API_docs/types/int.html) | Yes|Number of [Telegram Premium](https://core.telegram.org/api/premium) subscriptions given away.|
|
||||
|months|[int](/API_docs/types/int.html) | Yes|Duration in months of each [Telegram Premium](https://core.telegram.org/api/premium) subscription in the giveaway.|
|
||||
|months|[int](/API_docs/types/int.html) | Optional|Duration in months of each [Telegram Premium](https://core.telegram.org/api/premium) subscription in the giveaway.|
|
||||
|stars|[long](/API_docs/types/long.html) | Optional|
|
||||
|until\_date|[int](/API_docs/types/int.html) | Yes|The end date of the giveaway.|
|
||||
|
||||
|
||||
@ -32,5 +33,5 @@ Contains info about a [giveaway, see here »](https://core.telegram.org/api/give
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageMediaGiveaway = ['_' => 'messageMediaGiveaway', 'only_new_subscribers' => Bool, 'winners_are_visible' => Bool, 'channels' => [long, long], 'countries_iso2' => ['string', 'string'], 'prize_description' => 'string', 'quantity' => int, 'months' => int, 'until_date' => int];
|
||||
$messageMediaGiveaway = ['_' => 'messageMediaGiveaway', 'only_new_subscribers' => Bool, 'winners_are_visible' => Bool, 'channels' => [long, long], 'countries_iso2' => ['string', 'string'], 'prize_description' => 'string', 'quantity' => int, 'months' => int, 'stars' => long, 'until_date' => int];
|
||||
```
|
||||
|
@ -23,7 +23,8 @@ A [giveaway](https://core.telegram.org/api/giveaways) with public winners has fi
|
||||
|winners\_count|[int](/API_docs/types/int.html) | Yes|Total number of winners in the giveaway.|
|
||||
|unclaimed\_count|[int](/API_docs/types/int.html) | Yes|Number of not-yet-claimed prizes.|
|
||||
|winners|Array of [long](/API_docs/types/long.html) | Yes|Up to 100 user identifiers of the winners of the giveaway.|
|
||||
|months|[int](/API_docs/types/int.html) | Yes|Duration in months of each [Telegram Premium](https://core.telegram.org/api/premium) subscription in the giveaway.|
|
||||
|months|[int](/API_docs/types/int.html) | Optional|Duration in months of each [Telegram Premium](https://core.telegram.org/api/premium) subscription in the giveaway.|
|
||||
|stars|[long](/API_docs/types/long.html) | Optional|
|
||||
|prize\_description|[string](/API_docs/types/string.html) | Optional|Can contain a textual description of additional giveaway prizes.|
|
||||
|until\_date|[int](/API_docs/types/int.html) | Yes|Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in initial parameters of the giveaway.|
|
||||
|
||||
@ -35,5 +36,5 @@ A [giveaway](https://core.telegram.org/api/giveaways) with public winners has fi
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageMediaGiveawayResults = ['_' => 'messageMediaGiveawayResults', 'only_new_subscribers' => Bool, 'refunded' => Bool, 'channel_id' => long, 'additional_peers_count' => int, 'launch_msg_id' => int, 'winners_count' => int, 'unclaimed_count' => int, 'winners' => [long, long], 'months' => int, 'prize_description' => 'string', 'until_date' => int];
|
||||
$messageMediaGiveawayResults = ['_' => 'messageMediaGiveawayResults', 'only_new_subscribers' => Bool, 'refunded' => Bool, 'channel_id' => long, 'additional_peers_count' => int, 'launch_msg_id' => int, 'winners_count' => int, 'unclaimed_count' => int, 'winners' => [long, long], 'months' => int, 'stars' => long, 'prize_description' => 'string', 'until_date' => int];
|
||||
```
|
||||
|
@ -20,9 +20,10 @@ A [giveaway](https://core.telegram.org/api/giveaways) has ended.
|
||||
|refunded|[Bool](/API_docs/types/Bool.html) | Optional|Whether the giveaway was canceled and was fully refunded.|
|
||||
|start\_date|[int](/API_docs/types/int.html) | Yes|Start date of the giveaway|
|
||||
|gift\_code\_slug|[string](/API_docs/types/string.html) | Optional|If we're one of the winners of this giveaway, contains the [Premium gift code](https://core.telegram.org/api/links#premium-giftcode-links), see [here »](https://core.telegram.org/api/giveaways) for more info on the full giveaway flow.|
|
||||
|stars\_prize|[long](/API_docs/types/long.html) | Optional|
|
||||
|finish\_date|[int](/API_docs/types/int.html) | Yes|End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.|
|
||||
|winners\_count|[int](/API_docs/types/int.html) | Yes|Number of winners in the giveaway|
|
||||
|activated\_count|[int](/API_docs/types/int.html) | Yes|Number of winners, which activated their [gift codes](https://core.telegram.org/api/links#premium-giftcode-links).|
|
||||
|activated\_count|[int](/API_docs/types/int.html) | Optional|Number of winners, which activated their [gift codes](https://core.telegram.org/api/links#premium-giftcode-links).|
|
||||
|
||||
|
||||
|
||||
@ -32,5 +33,5 @@ A [giveaway](https://core.telegram.org/api/giveaways) has ended.
|
||||
### Example:
|
||||
|
||||
```
|
||||
$payments_giveawayInfoResults = ['_' => 'payments.giveawayInfoResults', 'winner' => Bool, 'refunded' => Bool, 'start_date' => int, 'gift_code_slug' => 'string', 'finish_date' => int, 'winners_count' => int, 'activated_count' => int];
|
||||
$payments_giveawayInfoResults = ['_' => 'payments.giveawayInfoResults', 'winner' => Bool, 'refunded' => Bool, 'start_date' => int, 'gift_code_slug' => 'string', 'stars_prize' => long, 'finish_date' => int, 'winners_count' => int, 'activated_count' => int];
|
||||
```
|
||||
|
31
docs/API_docs/constructors/prepaidStarsGiveaway.md
Normal file
31
docs/API_docs/constructors/prepaidStarsGiveaway.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "prepaidStarsGiveaway"
|
||||
description: "prepaidStarsGiveaway attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: prepaidStarsGiveaway
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](/API_docs/types/long.html) | Yes|
|
||||
|stars|[long](/API_docs/types/long.html) | Yes|
|
||||
|quantity|[int](/API_docs/types/int.html) | Yes|
|
||||
|boosts|[int](/API_docs/types/int.html) | Yes|
|
||||
|date|[int](/API_docs/types/int.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [PrepaidGiveaway](/API_docs/types/PrepaidGiveaway.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$prepaidStarsGiveaway = ['_' => 'prepaidStarsGiveaway', 'id' => long, 'stars' => long, 'quantity' => int, 'boosts' => int, 'date' => int];
|
||||
```
|
34
docs/API_docs/constructors/starsGiveawayOption.md
Normal file
34
docs/API_docs/constructors/starsGiveawayOption.md
Normal file
@ -0,0 +1,34 @@
|
||||
---
|
||||
title: "starsGiveawayOption"
|
||||
description: "starsGiveawayOption attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: starsGiveawayOption
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|extended|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|default|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|stars|[long](/API_docs/types/long.html) | Yes|
|
||||
|yearly\_boosts|[int](/API_docs/types/int.html) | Yes|
|
||||
|store\_product|[string](/API_docs/types/string.html) | Optional|
|
||||
|currency|[string](/API_docs/types/string.html) | Yes|
|
||||
|amount|[long](/API_docs/types/long.html) | Yes|
|
||||
|winners|Array of [StarsGiveawayWinnersOption](/API_docs/types/StarsGiveawayWinnersOption.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [StarsGiveawayOption](/API_docs/types/StarsGiveawayOption.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$starsGiveawayOption = ['_' => 'starsGiveawayOption', 'extended' => Bool, 'default' => Bool, 'stars' => long, 'yearly_boosts' => int, 'store_product' => 'string', 'currency' => 'string', 'amount' => long, 'winners' => [StarsGiveawayWinnersOption, StarsGiveawayWinnersOption]];
|
||||
```
|
29
docs/API_docs/constructors/starsGiveawayWinnersOption.md
Normal file
29
docs/API_docs/constructors/starsGiveawayWinnersOption.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
title: "starsGiveawayWinnersOption"
|
||||
description: "starsGiveawayWinnersOption attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: starsGiveawayWinnersOption
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|default|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|users|[int](/API_docs/types/int.html) | Yes|
|
||||
|per\_user\_stars|[long](/API_docs/types/long.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [StarsGiveawayWinnersOption](/API_docs/types/StarsGiveawayWinnersOption.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$starsGiveawayWinnersOption = ['_' => 'starsGiveawayWinnersOption', 'default' => Bool, 'users' => int, 'per_user_stars' => long];
|
||||
```
|
@ -31,6 +31,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|msg\_id|[int](/API_docs/types/int.html) | Optional|
|
||||
|extended\_media|Array of [MessageMedia](/API_docs/types/MessageMedia.html) | Optional|
|
||||
|subscription\_period|[int](/API_docs/types/int.html) | Optional|
|
||||
|giveaway\_post\_id|[int](/API_docs/types/int.html) | Optional|
|
||||
|
||||
|
||||
|
||||
@ -40,5 +41,5 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
### Example:
|
||||
|
||||
```
|
||||
$starsTransaction = ['_' => 'starsTransaction', 'refund' => Bool, 'pending' => Bool, 'failed' => Bool, 'gift' => Bool, 'reaction' => Bool, 'id' => 'string', 'stars' => long, 'date' => int, 'peer' => StarsTransactionPeer, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'transaction_date' => int, 'transaction_url' => 'string', 'bot_payload' => 'bytes', 'msg_id' => int, 'extended_media' => [MessageMedia, MessageMedia], 'subscription_period' => int];
|
||||
$starsTransaction = ['_' => 'starsTransaction', 'refund' => Bool, 'pending' => Bool, 'failed' => Bool, 'gift' => Bool, 'reaction' => Bool, 'id' => 'string', 'stars' => long, 'date' => int, 'peer' => StarsTransactionPeer, 'title' => 'string', 'description' => 'string', 'photo' => WebDocument, 'transaction_date' => int, 'transaction_url' => 'string', 'bot_payload' => 'bytes', 'msg_id' => int, 'extended_media' => [MessageMedia, MessageMedia], 'subscription_period' => int, 'giveaway_post_id' => int];
|
||||
```
|
||||
|
29
docs/API_docs/constructors/updateBotPurchasedPaidMedia.md
Normal file
29
docs/API_docs/constructors/updateBotPurchasedPaidMedia.md
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
title: "updateBotPurchasedPaidMedia"
|
||||
description: "updateBotPurchasedPaidMedia attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: updateBotPurchasedPaidMedia
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|user\_id|[long](/API_docs/types/long.html) | Yes|
|
||||
|payload|[string](/API_docs/types/string.html) | Yes|
|
||||
|qts|[int](/API_docs/types/int.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [Update](/API_docs/types/Update.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$updateBotPurchasedPaidMedia = ['_' => 'updateBotPurchasedPaidMedia', 'user_id' => long, 'payload' => 'string', 'qts' => int];
|
||||
```
|
27
docs/API_docs/constructors/updatePaidReactionPrivacy.md
Normal file
27
docs/API_docs/constructors/updatePaidReactionPrivacy.md
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
title: "updatePaidReactionPrivacy"
|
||||
description: "updatePaidReactionPrivacy attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: updatePaidReactionPrivacy
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|private|[Bool](/API_docs/types/Bool.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [Update](/API_docs/types/Update.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$updatePaidReactionPrivacy = ['_' => 'updatePaidReactionPrivacy', 'private' => Bool];
|
||||
```
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Telegram RPC API"
|
||||
description: "MadelineProto API documentation (layer 186)"
|
||||
description: "MadelineProto API documentation (layer 187)"
|
||||
has_children: true
|
||||
has_toc: false
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
@ -1611,6 +1611,10 @@ $MadelineProto->[messages->getOnlines](/API_docs/methods/messages.getOnlines.htm
|
||||
<br><br>
|
||||
$MadelineProto->[messages->getOutboxReadDate](/API_docs/methods/messages.getOutboxReadDate.html)(\[peer: $[InputPeer](/API_docs/types/InputPeer.html), msg_id: $[int](/API_docs/types/int.html), \]) === [$OutboxReadDate](/API_docs/types/OutboxReadDate.html)<a name="messages.getOutboxReadDate"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[messages->getPaidReactionPrivacy](/API_docs/methods/messages.getPaidReactionPrivacy.html)(\[\]) === [$Updates](/API_docs/types/Updates.html)<a name="messages.getPaidReactionPrivacy"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[messages->getPeerDialogs](/API_docs/methods/messages.getPeerDialogs.html)(\[peers: \[$[InputDialogPeer](/API_docs/types/InputDialogPeer.html)\], \]) === [$messages.PeerDialogs](/API_docs/types/messages.PeerDialogs.html)<a name="messages.getPeerDialogs"></a>
|
||||
@ -1937,7 +1941,7 @@ $MadelineProto->[messages->sendMultiMedia](/API_docs/methods/messages.sendMultiM
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[messages->sendPaidReaction](/API_docs/methods/messages.sendPaidReaction.html)(\[private: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), msg_id: $[int](/API_docs/types/int.html), count: $[int](/API_docs/types/int.html), \]) === [$Updates](/API_docs/types/Updates.html)<a name="messages.sendPaidReaction"></a>
|
||||
$MadelineProto->[messages->sendPaidReaction](/API_docs/methods/messages.sendPaidReaction.html)(\[peer: $[InputPeer](/API_docs/types/InputPeer.html), msg_id: $[int](/API_docs/types/int.html), count: $[int](/API_docs/types/int.html), private: $[Bool](/API_docs/types/Bool.html), \]) === [$Updates](/API_docs/types/Updates.html)<a name="messages.sendPaidReaction"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
@ -2171,6 +2175,10 @@ $MadelineProto->[payments->getSavedInfo](/API_docs/methods/payments.getSavedInfo
|
||||
<br><br>
|
||||
$MadelineProto->[payments->getStarsGiftOptions](/API_docs/methods/payments.getStarsGiftOptions.html)(\[user_id: $[InputUser](/API_docs/types/InputUser.html), \]) === [$Vector\_of\_StarsGiftOption](/API_docs/types/StarsGiftOption.html)<a name="payments.getStarsGiftOptions"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[payments->getStarsGiveawayOptions](/API_docs/methods/payments.getStarsGiveawayOptions.html)(\[\]) === [$Vector\_of\_StarsGiveawayOption](/API_docs/types/StarsGiveawayOption.html)<a name="payments.getStarsGiveawayOptions"></a>
|
||||
|
||||
***
|
||||
<br><br>
|
||||
$MadelineProto->[payments->getStarsRevenueAdsAccountUrl](/API_docs/methods/payments.getStarsRevenueAdsAccountUrl.html)(\[peer: $[InputPeer](/API_docs/types/InputPeer.html), \]) === [$payments.StarsRevenueAdsAccountUrl](/API_docs/types/payments.StarsRevenueAdsAccountUrl.html)<a name="payments.getStarsRevenueAdsAccountUrl"></a>
|
||||
|
@ -1682,6 +1682,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="messages.getOutboxReadDate.html" name="messages.getOutboxReadDate">messages.getOutboxReadDate</a>
|
||||
|
||||
* <a href="messages.getPaidReactionPrivacy.html" name="messages.getPaidReactionPrivacy">messages.getPaidReactionPrivacy</a>
|
||||
|
||||
* <a href="messages.getQuickReplies.html" name="messages.getQuickReplies">messages.getQuickReplies</a>
|
||||
|
||||
* <a href="messages.getQuickReplyMessages.html" name="messages.getQuickReplyMessages">messages.getQuickReplyMessages</a>
|
||||
@ -1712,6 +1714,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="payments.getStarsGiftOptions.html" name="payments.getStarsGiftOptions">payments.getStarsGiftOptions</a>
|
||||
|
||||
* <a href="payments.getStarsGiveawayOptions.html" name="payments.getStarsGiveawayOptions">payments.getStarsGiveawayOptions</a>
|
||||
|
||||
* <a href="payments.getStarsRevenueAdsAccountUrl.html" name="payments.getStarsRevenueAdsAccountUrl">payments.getStarsRevenueAdsAccountUrl</a>
|
||||
|
||||
* <a href="payments.getStarsRevenueStats.html" name="payments.getStarsRevenueStats">payments.getStarsRevenueStats</a>
|
||||
|
35
docs/API_docs/methods/messages.getPaidReactionPrivacy.md
Normal file
35
docs/API_docs/methods/messages.getPaidReactionPrivacy.md
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "messages.getPaidReactionPrivacy"
|
||||
description: "messages.getPaidReactionPrivacy parameters, return type and example"
|
||||
grand_parent: "Telegram RPC API"
|
||||
parent: "Methods"
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
redirect_from: /API_docs/methods/messages_getPaidReactionPrivacy.html
|
||||
---
|
||||
# Method: messages.getPaidReactionPrivacy
|
||||
[Back to methods index](index.html)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Return type: [Updates](/API_docs/types/Updates.html)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
||||
|
||||
```php
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Updates = $MadelineProto->messages->getPaidReactionPrivacy();
|
||||
```
|
||||
|
@ -15,10 +15,10 @@ redirect_from: /API_docs/methods/messages_sendPaidReaction.html
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|private|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|
|
||||
|msg\_id|[int](/API_docs/types/int.html) | Optional|
|
||||
|count|[int](/API_docs/types/int.html) | Optional|
|
||||
|private|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|
||||
|
||||
### Return type: [Updates](/API_docs/types/Updates.html)
|
||||
@ -38,6 +38,6 @@ include 'madeline.php';
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Updates = $MadelineProto->messages->sendPaidReaction(private: $Bool, peer: $InputPeer, msg_id: $int, count: $int, );
|
||||
$Updates = $MadelineProto->messages->sendPaidReaction(peer: $InputPeer, msg_id: $int, count: $int, private: $Bool, );
|
||||
```
|
||||
|
||||
|
35
docs/API_docs/methods/payments.getStarsGiveawayOptions.md
Normal file
35
docs/API_docs/methods/payments.getStarsGiveawayOptions.md
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
title: "payments.getStarsGiveawayOptions"
|
||||
description: "payments.getStarsGiveawayOptions parameters, return type and example"
|
||||
grand_parent: "Telegram RPC API"
|
||||
parent: "Methods"
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
redirect_from: /API_docs/methods/payments_getStarsGiveawayOptions.html
|
||||
---
|
||||
# Method: payments.getStarsGiveawayOptions
|
||||
[Back to methods index](index.html)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### Return type: [Vector\_of\_StarsGiveawayOption](/API_docs/types/StarsGiveawayOption.html)
|
||||
|
||||
### Can bots use this method: **YES**
|
||||
|
||||
|
||||
### MadelineProto Example ([now async for huge speed and parallelism!](https://docs.madelineproto.xyz/docs/ASYNC.html)):
|
||||
|
||||
|
||||
```php
|
||||
if (!file_exists('madeline.php')) {
|
||||
copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
|
||||
}
|
||||
include 'madeline.php';
|
||||
|
||||
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
|
||||
$MadelineProto->start();
|
||||
|
||||
$Vector_of_StarsGiveawayOption = $MadelineProto->payments->getStarsGiveawayOptions();
|
||||
```
|
||||
|
@ -109,6 +109,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[channelAdminLogEventActionToggleSignatureProfiles](/API_docs/constructors/channelAdminLogEventActionToggleSignatureProfiles.html)
|
||||
|
||||
[channelAdminLogEventActionParticipantSubExtend](/API_docs/constructors/channelAdminLogEventActionParticipantSubExtend.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
@ -23,6 +23,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[inputStorePaymentStarsGift](/API_docs/constructors/inputStorePaymentStarsGift.html)
|
||||
|
||||
[inputStorePaymentStarsGiveaway](/API_docs/constructors/inputStorePaymentStarsGiveaway.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
@ -101,6 +101,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[messageActionGiftStars](/API_docs/constructors/messageActionGiftStars.html)
|
||||
|
||||
[messageActionPrizeStars](/API_docs/constructors/messageActionPrizeStars.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
@ -13,6 +13,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[prepaidGiveaway](/API_docs/constructors/prepaidGiveaway.html)
|
||||
|
||||
[prepaidStarsGiveaway](/API_docs/constructors/prepaidStarsGiveaway.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
23
docs/API_docs/types/StarsGiveawayOption.md
Normal file
23
docs/API_docs/types/StarsGiveawayOption.md
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
title: StarsGiveawayOption
|
||||
description: constructors and methods of type StarsGiveawayOption
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Type: StarsGiveawayOption
|
||||
[Back to types index](index.html)
|
||||
|
||||
|
||||
|
||||
### Possible values (constructors):
|
||||
|
||||
[starsGiveawayOption](/API_docs/constructors/starsGiveawayOption.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
||||
[$MadelineProto->payments->getStarsGiveawayOptions](/API_docs/methods/payments.getStarsGiveawayOptions.html)
|
||||
|
||||
|
||||
|
21
docs/API_docs/types/StarsGiveawayWinnersOption.md
Normal file
21
docs/API_docs/types/StarsGiveawayWinnersOption.md
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
title: StarsGiveawayWinnersOption
|
||||
description: constructors and methods of type StarsGiveawayWinnersOption
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Type: StarsGiveawayWinnersOption
|
||||
[Back to types index](index.html)
|
||||
|
||||
|
||||
|
||||
### Possible values (constructors):
|
||||
|
||||
[starsGiveawayWinnersOption](/API_docs/constructors/starsGiveawayWinnersOption.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
||||
|
||||
|
@ -289,6 +289,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[updateStarsRevenueStatus](/API_docs/constructors/updateStarsRevenueStatus.html)
|
||||
|
||||
[updateBotPurchasedPaidMedia](/API_docs/constructors/updateBotPurchasedPaidMedia.html)
|
||||
|
||||
[updatePaidReactionPrivacy](/API_docs/constructors/updatePaidReactionPrivacy.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
@ -136,6 +136,8 @@ $message = $MadelineProto->extractMessageId($Updates);
|
||||
|
||||
[$MadelineProto->messages->sendPaidReaction](/API_docs/methods/messages.sendPaidReaction.html)
|
||||
|
||||
[$MadelineProto->messages->getPaidReactionPrivacy](/API_docs/methods/messages.getPaidReactionPrivacy.html)
|
||||
|
||||
[$MadelineProto->channels->createChannel](/API_docs/methods/channels.createChannel.html)
|
||||
|
||||
[$MadelineProto->channels->editAdmin](/API_docs/methods/channels.editAdmin.html)
|
||||
|
@ -577,6 +577,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[StarsGiftOption](/API_docs/types/StarsGiftOption.html)<a name="StarsGiftOption"></a>
|
||||
|
||||
[StarsGiveawayOption](/API_docs/types/StarsGiveawayOption.html)<a name="StarsGiveawayOption"></a>
|
||||
|
||||
[StarsGiveawayWinnersOption](/API_docs/types/StarsGiveawayWinnersOption.html)<a name="StarsGiveawayWinnersOption"></a>
|
||||
|
||||
[StarsRevenueStatus](/API_docs/types/StarsRevenueStatus.html)<a name="StarsRevenueStatus"></a>
|
||||
|
||||
[StarsSubscription](/API_docs/types/StarsSubscription.html)<a name="StarsSubscription"></a>
|
||||
|
@ -943,6 +943,8 @@ Here's a full list of all MTProto filters (click on each filter name to view the
|
||||
* [onUpdateStarsBalance »](https://docs.madelineproto.xyz/API_docs/constructors/updateStarsBalance.html) -
|
||||
* [onUpdateBusinessBotCallbackQuery »](https://docs.madelineproto.xyz/API_docs/constructors/updateBusinessBotCallbackQuery.html) -
|
||||
* [onUpdateStarsRevenueStatus »](https://docs.madelineproto.xyz/API_docs/constructors/updateStarsRevenueStatus.html) -
|
||||
* [onUpdateBotPurchasedPaidMedia »](https://docs.madelineproto.xyz/API_docs/constructors/updateBotPurchasedPaidMedia.html) -
|
||||
* [onUpdatePaidReactionPrivacy »](https://docs.madelineproto.xyz/API_docs/constructors/updatePaidReactionPrivacy.html) -
|
||||
|
||||
|
||||
<!-- cut_here_end mtprotofilters -->
|
||||
|
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
There are simplifications for many, if not all of, these methods.
|
||||
|
||||
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 186)](https://docs.madelineproto.xyz/API_docs/).
|
||||
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 187)](https://docs.madelineproto.xyz/API_docs/).
|
||||
|
||||
[Now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)
|
||||
|
||||
|
@ -1151,6 +1151,7 @@ Some of MadelineProto's core components are also available as separate, standalo
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getFactCheck.html" name="messages.getFactCheck">messages.getFactCheck</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getMyStickers.html" name="messages.getMyStickers">messages.getMyStickers</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getOutboxReadDate.html" name="messages.getOutboxReadDate">messages.getOutboxReadDate</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getPaidReactionPrivacy.html" name="messages.getPaidReactionPrivacy">messages.getPaidReactionPrivacy</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getQuickReplies.html" name="messages.getQuickReplies">messages.getQuickReplies</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getQuickReplyMessages.html" name="messages.getQuickReplyMessages">messages.getQuickReplyMessages</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.getSavedReactionTags.html" name="messages.getSavedReactionTags">messages.getSavedReactionTags</a>
|
||||
@ -1166,6 +1167,7 @@ Some of MadelineProto's core components are also available as separate, standalo
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.changeStarsSubscription.html" name="payments.changeStarsSubscription">payments.changeStarsSubscription</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.fulfillStarsSubscription.html" name="payments.fulfillStarsSubscription">payments.fulfillStarsSubscription</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getStarsGiftOptions.html" name="payments.getStarsGiftOptions">payments.getStarsGiftOptions</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getStarsGiveawayOptions.html" name="payments.getStarsGiveawayOptions">payments.getStarsGiveawayOptions</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getStarsRevenueAdsAccountUrl.html" name="payments.getStarsRevenueAdsAccountUrl">payments.getStarsRevenueAdsAccountUrl</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getStarsRevenueStats.html" name="payments.getStarsRevenueStats">payments.getStarsRevenueStats</a>
|
||||
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.getStarsRevenueWithdrawalUrl.html" name="payments.getStarsRevenueWithdrawalUrl">payments.getStarsRevenueWithdrawalUrl</a>
|
||||
|
Loading…
Reference in New Issue
Block a user