Skip to content

Commit 70845b3

Browse files
committed
Bump
1 parent b849071 commit 70845b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+726
-153
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: "account.paidMessagesRevenue"
3+
description: "account.paidMessagesRevenue attributes, type and example"
4+
nav_exclude: true
5+
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
6+
redirect_from: /API_docs/constructors/account_paidMessagesRevenue.html
7+
---
8+
# Constructor: account.paidMessagesRevenue
9+
[Back to constructors index](/API_docs/constructors/index.html)
10+
11+
12+
13+
### Attributes:
14+
15+
| Name | Type | Required |
16+
|----------|---------------|----------|
17+
|stars\_amount|[long](/API_docs/types/long.html) | Yes|
18+
19+
20+
21+
### Type: [account.PaidMessagesRevenue](/API_docs/types/account.PaidMessagesRevenue.html)
22+
23+
24+
### Example:
25+
26+
```
27+
$account_paidMessagesRevenue = ['_' => 'account.paidMessagesRevenue', 'stars_amount' => long];
28+
```

docs/API_docs/constructors/channel.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ See [here »](https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9
8888
|level|[int](/API_docs/types/int.html) | Optional|
8989
|subscription\_until\_date|[int](/API_docs/types/int.html) | Optional|
9090
|bot\_verification\_icon|[long](/API_docs/types/long.html) | Optional|
91+
|send\_paid\_messages\_stars|[long](/API_docs/types/long.html) | Optional|
9192

9293

9394

@@ -97,5 +98,5 @@ See [here »](https://github.com/tdlib/td/blob/a24af0992245f838f2b4b418a0a2d5fa9
9798
### Example:
9899

99100
```
100-
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'signatures' => Bool, 'min' => Bool, 'scam' => Bool, 'has_link' => Bool, 'has_geo' => Bool, 'slowmode_enabled' => Bool, 'call_active' => Bool, 'call_not_empty' => Bool, 'fake' => Bool, 'gigagroup' => Bool, 'noforwards' => Bool, 'join_to_send' => Bool, 'join_request' => Bool, 'forum' => Bool, 'stories_hidden' => Bool, 'stories_hidden_min' => Bool, 'stories_unavailable' => Bool, 'signature_profiles' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'restriction_reason' => [RestrictionReason, RestrictionReason], 'admin_rights' => ChatAdminRights, 'banned_rights' => ChatBannedRights, 'default_banned_rights' => ChatBannedRights, 'participants_count' => int, 'usernames' => [Username, Username], 'stories_max_id' => int, 'color' => PeerColor, 'profile_color' => PeerColor, 'emoji_status' => EmojiStatus, 'level' => int, 'subscription_until_date' => int, 'bot_verification_icon' => long];
101+
$channel = ['_' => 'channel', 'creator' => Bool, 'left' => Bool, 'broadcast' => Bool, 'verified' => Bool, 'megagroup' => Bool, 'restricted' => Bool, 'signatures' => Bool, 'min' => Bool, 'scam' => Bool, 'has_link' => Bool, 'has_geo' => Bool, 'slowmode_enabled' => Bool, 'call_active' => Bool, 'call_not_empty' => Bool, 'fake' => Bool, 'gigagroup' => Bool, 'noforwards' => Bool, 'join_to_send' => Bool, 'join_request' => Bool, 'forum' => Bool, 'stories_hidden' => Bool, 'stories_hidden_min' => Bool, 'stories_unavailable' => Bool, 'signature_profiles' => Bool, 'id' => long, 'access_hash' => long, 'title' => 'string', 'username' => 'string', 'photo' => ChatPhoto, 'date' => int, 'restriction_reason' => [RestrictionReason, RestrictionReason], 'admin_rights' => ChatAdminRights, 'banned_rights' => ChatBannedRights, 'default_banned_rights' => ChatBannedRights, 'participants_count' => int, 'usernames' => [Username, Username], 'stories_max_id' => int, 'color' => PeerColor, 'profile_color' => PeerColor, 'emoji_status' => EmojiStatus, 'level' => int, 'subscription_until_date' => int, 'bot_verification_icon' => long, 'send_paid_messages_stars' => long];
101102
```

docs/API_docs/constructors/channelFull.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ When updating the [local peer database »](https://core.telegram.org/api/peers),
3737
|can\_view\_stars\_revenue|[Bool](/API_docs/types/Bool.html) | Optional|
3838
|paid\_reactions\_available|[Bool](/API_docs/types/Bool.html) | Optional|
3939
|stargifts\_available|[Bool](/API_docs/types/Bool.html) | Optional|
40+
|paid\_messages\_available|[Bool](/API_docs/types/Bool.html) | Optional|
4041
|id|[long](/API_docs/types/long.html) | Yes|ID of the channel|
4142
|about|[string](/API_docs/types/string.html) | Yes|Info about the channel|
4243
|participants\_count|[int](/API_docs/types/int.html) | Optional|Number of participants of the channel|
@@ -89,5 +90,5 @@ When updating the [local peer database »](https://core.telegram.org/api/peers),
8990
### Example:
9091

9192
```
92-
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'can_view_stats' => Bool, 'blocked' => Bool, 'can_delete_channel' => Bool, 'antispam' => Bool, 'participants_hidden' => Bool, 'translations_disabled' => Bool, 'stories_pinned_available' => Bool, 'view_forum_as_messages' => Bool, 'restricted_sponsored' => Bool, 'can_view_revenue' => Bool, 'paid_media_allowed' => Bool, 'can_view_stars_revenue' => Bool, 'paid_reactions_available' => Bool, 'stargifts_available' => Bool, 'id' => long, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => long, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => long, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'stats_dc' => int, 'pts' => int, 'call' => InputGroupCall, 'ttl_period' => int, 'pending_suggestions' => ['string', 'string'], 'groupcall_default_join_as' => Peer, 'theme_emoticon' => 'string', 'requests_pending' => int, 'recent_requesters' => [long, long], 'default_send_as' => Peer, 'available_reactions' => ChatReactions, 'reactions_limit' => int, 'stories' => PeerStories, 'wallpaper' => WallPaper, 'boosts_applied' => int, 'boosts_unrestrict' => int, 'emojiset' => StickerSet, 'bot_verification' => BotVerification, 'stargifts_count' => int];
93+
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'can_view_stats' => Bool, 'blocked' => Bool, 'can_delete_channel' => Bool, 'antispam' => Bool, 'participants_hidden' => Bool, 'translations_disabled' => Bool, 'stories_pinned_available' => Bool, 'view_forum_as_messages' => Bool, 'restricted_sponsored' => Bool, 'can_view_revenue' => Bool, 'paid_media_allowed' => Bool, 'can_view_stars_revenue' => Bool, 'paid_reactions_available' => Bool, 'stargifts_available' => Bool, 'paid_messages_available' => Bool, 'id' => long, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => long, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => long, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'stats_dc' => int, 'pts' => int, 'call' => InputGroupCall, 'ttl_period' => int, 'pending_suggestions' => ['string', 'string'], 'groupcall_default_join_as' => Peer, 'theme_emoticon' => 'string', 'requests_pending' => int, 'recent_requesters' => [long, long], 'default_send_as' => Peer, 'available_reactions' => ChatReactions, 'reactions_limit' => int, 'stories' => PeerStories, 'wallpaper' => WallPaper, 'boosts_applied' => int, 'boosts_unrestrict' => int, 'emojiset' => StickerSet, 'bot_verification' => BotVerification, 'stargifts_count' => int];
9394
```

docs/API_docs/constructors/globalPrivacySettings.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Global privacy settings
2020
|keep\_archived\_folders|[Bool](/API_docs/types/Bool.html) | Optional|Whether unmuted chats that are always included or pinned in a [folder](https://core.telegram.org/api/folders), will be kept in the Archive chat list when they get a new message. Ignored if `keep_archived_unmuted` is set.|
2121
|hide\_read\_marks|[Bool](/API_docs/types/Bool.html) | Optional|If this flag is set, the [inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.html) key will also apply to the ability to use [messages.getOutboxReadDate](../methods/messages.getOutboxReadDate.html) on messages sent to us. <br>Meaning, users that cannot see *our* exact last online date due to the current value of the [inputPrivacyKeyStatusTimestamp](../constructors/inputPrivacyKeyStatusTimestamp.html) key will receive a `403 USER_PRIVACY_RESTRICTED` error when invoking [messages.getOutboxReadDate](../methods/messages.getOutboxReadDate.html) to fetch the exact read date of a message they sent to us. <br>The [userFull](../constructors/userFull.html).`read_dates_private` flag will be set for users that have this flag enabled.|
2222
|new\_noncontact\_peers\_require\_premium|[Bool](/API_docs/types/Bool.html) | Optional|If set, only users that have a premium account, are in our contact list, or already have a private chat with us can write to us; a `403 PRIVACY_PREMIUM_REQUIRED` error will be emitted otherwise. <br>The [userFull](../constructors/userFull.html).`contact_require_premium` flag will be set for users that have this flag enabled. <br>To check whether we can write to a user with this flag enabled, if we haven't yet cached all the required information (for example we don't have the [userFull](../constructors/userFull.html) or history of all users while displaying the chat list in the sharing UI) the [users.getIsPremiumRequiredToContact](../methods/users.getIsPremiumRequiredToContact.html) method may be invoked, passing the list of users currently visible in the UI, returning a list of booleans that directly specify whether we can or cannot write to each user. <br>This option may be enabled by both non-[Premium](https://core.telegram.org/api/premium) and [Premium](https://core.telegram.org/api/premium) users only if the [new\_noncontact\_peers\_require\_premium\_without\_ownpremium client configuration flag »](https://core.telegram.org/api/config#new-noncontact-peers-require-premium-without-ownpremium) is equal to true, otherwise it may be enabled only by [Premium](https://core.telegram.org/api/premium) users and non-Premium users will receive a `PREMIUM_ACCOUNT_REQUIRED` error when trying to enable this flag.|
23+
|noncontact\_peers\_paid\_stars|[long](/API_docs/types/long.html) | Optional|
2324

2425

2526

@@ -29,5 +30,5 @@ Global privacy settings
2930
### Example:
3031

3132
```
32-
$globalPrivacySettings = ['_' => 'globalPrivacySettings', 'archive_and_mute_new_noncontact_peers' => Bool, 'keep_archived_unmuted' => Bool, 'keep_archived_folders' => Bool, 'hide_read_marks' => Bool, 'new_noncontact_peers_require_premium' => Bool];
33+
$globalPrivacySettings = ['_' => 'globalPrivacySettings', 'archive_and_mute_new_noncontact_peers' => Bool, 'keep_archived_unmuted' => Bool, 'keep_archived_folders' => Bool, 'hide_read_marks' => Bool, 'new_noncontact_peers_require_premium' => Bool, 'noncontact_peers_paid_stars' => long];
3334
```

0 commit comments

Comments
 (0)