This commit is contained in:
Daniil Gentili 2024-11-18 17:15:51 +00:00
parent bdd21f2b05
commit 96efb4a7d8
50 changed files with 724 additions and 44 deletions

View File

@ -0,0 +1,31 @@
---
title: "botAppSettings"
description: "botAppSettings attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: botAppSettings
[Back to constructors index](/API_docs/constructors/index.html)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|placeholder\_path|[bytes](/API_docs/types/bytes.html) | Optional|
|background\_color|[int](/API_docs/types/int.html) | Optional|
|background\_dark\_color|[int](/API_docs/types/int.html) | Optional|
|header\_color|[int](/API_docs/types/int.html) | Optional|
|header\_dark\_color|[int](/API_docs/types/int.html) | Optional|
### Type: [BotAppSettings](/API_docs/types/BotAppSettings.html)
### Example:
```
$botAppSettings = ['_' => 'botAppSettings', 'placeholder_path' => 'bytes', 'background_color' => int, 'background_dark_color' => int, 'header_color' => int, 'header_dark_color' => int];
```

View File

@ -23,6 +23,7 @@ Info about bots (available bot commands, etc)
|commands|Array of [BotCommand](/API_docs/types/BotCommand.html) | Optional|Bot commands that can be used in the chat|
|menu\_button|[BotMenuButton](/API_docs/types/BotMenuButton.html) | Optional|Indicates the action to execute when pressing the in-UI menu button for bots|
|privacy\_policy\_url|[string](/API_docs/types/string.html) | Optional|
|app\_settings|[BotAppSettings](/API_docs/types/BotAppSettings.html) | Optional|
@ -32,5 +33,5 @@ Info about bots (available bot commands, etc)
### Example:
```
$botInfo = ['_' => 'botInfo', 'has_preview_medias' => Bool, 'user_id' => long, 'description' => 'string', 'description_photo' => Photo, 'description_document' => Document, 'commands' => [BotCommand, BotCommand], 'menu_button' => BotMenuButton, 'privacy_policy_url' => 'string'];
$botInfo = ['_' => 'botInfo', 'has_preview_medias' => Bool, 'user_id' => long, 'description' => 'string', 'description_photo' => Photo, 'description_document' => Document, 'commands' => [BotCommand, BotCommand], 'menu_button' => BotMenuButton, 'privacy_policy_url' => 'string', 'app_settings' => BotAppSettings];
```

View File

@ -268,6 +268,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$botAppNotModified](/API_docs/constructors/botAppNotModified.html) = \[\];<a name="botAppNotModified"></a>
***
<br><br>[$botAppSettings](/API_docs/constructors/botAppSettings.html) = \['placeholder_path' => [bytes](/API_docs/types/bytes.html), 'background_color' => [int](/API_docs/types/int.html), 'background_dark_color' => [int](/API_docs/types/int.html), 'header_color' => [int](/API_docs/types/int.html), 'header_dark_color' => [int](/API_docs/types/int.html), \];<a name="botAppSettings"></a>
***
<br><br>[$botBusinessConnection](/API_docs/constructors/botBusinessConnection.html) = \['can_reply' => [Bool](/API_docs/types/Bool.html), 'disabled' => [Bool](/API_docs/types/Bool.html), 'connection_id' => [string](/API_docs/types/string.html), 'user_id' => [long](/API_docs/types/long.html), 'dc_id' => [int](/API_docs/types/int.html), 'date' => [int](/API_docs/types/int.html), \];<a name="botBusinessConnection"></a>
@ -296,7 +299,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$botCommandScopeUsers](/API_docs/constructors/botCommandScopeUsers.html) = \[\];<a name="botCommandScopeUsers"></a>
***
<br><br>[$botInfo](/API_docs/constructors/botInfo.html) = \['has_preview_medias' => [Bool](/API_docs/types/Bool.html), 'user_id' => [long](/API_docs/types/long.html), 'description' => [string](/API_docs/types/string.html), 'description_photo' => [Photo](/API_docs/types/Photo.html), 'description_document' => [Document](/API_docs/types/Document.html), 'commands' => \[[BotCommand](/API_docs/types/BotCommand.html)\], 'menu_button' => [BotMenuButton](/API_docs/types/BotMenuButton.html), 'privacy_policy_url' => [string](/API_docs/types/string.html), \];<a name="botInfo"></a>
<br><br>[$botInfo](/API_docs/constructors/botInfo.html) = \['has_preview_medias' => [Bool](/API_docs/types/Bool.html), 'user_id' => [long](/API_docs/types/long.html), 'description' => [string](/API_docs/types/string.html), 'description_photo' => [Photo](/API_docs/types/Photo.html), 'description_document' => [Document](/API_docs/types/Document.html), 'commands' => \[[BotCommand](/API_docs/types/BotCommand.html)\], 'menu_button' => [BotMenuButton](/API_docs/types/BotMenuButton.html), 'privacy_policy_url' => [string](/API_docs/types/string.html), 'app_settings' => [BotAppSettings](/API_docs/types/BotAppSettings.html), \];<a name="botInfo"></a>
***
<br><br>[$botInlineMediaResult](/API_docs/constructors/botInlineMediaResult.html) = \['id' => [string](/API_docs/types/string.html), 'type' => [string](/API_docs/types/string.html), 'photo' => [Photo](/API_docs/types/Photo.html), 'document' => [Document](/API_docs/types/Document.html), 'title' => [string](/API_docs/types/string.html), 'description' => [string](/API_docs/types/string.html), 'send_message' => [BotInlineMessage](/API_docs/types/BotInlineMessage.html), \];<a name="botInlineMediaResult"></a>
@ -1636,6 +1639,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$inputPrivacyKeyProfilePhoto](/API_docs/constructors/inputPrivacyKeyProfilePhoto.html) = \[\];<a name="inputPrivacyKeyProfilePhoto"></a>
***
<br><br>[$inputPrivacyKeyStarGiftsAutoSave](/API_docs/constructors/inputPrivacyKeyStarGiftsAutoSave.html) = \[\];<a name="inputPrivacyKeyStarGiftsAutoSave"></a>
***
<br><br>[$inputPrivacyKeyStatusTimestamp](/API_docs/constructors/inputPrivacyKeyStatusTimestamp.html) = \[\];<a name="inputPrivacyKeyStatusTimestamp"></a>
@ -1645,6 +1651,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$inputPrivacyValueAllowAll](/API_docs/constructors/inputPrivacyValueAllowAll.html) = \[\];<a name="inputPrivacyValueAllowAll"></a>
***
<br><br>[$inputPrivacyValueAllowBots](/API_docs/constructors/inputPrivacyValueAllowBots.html) = \[\];<a name="inputPrivacyValueAllowBots"></a>
***
<br><br>[$inputPrivacyValueAllowChatParticipants](/API_docs/constructors/inputPrivacyValueAllowChatParticipants.html) = \['chats' => \[[long](/API_docs/types/long.html)\], \];<a name="inputPrivacyValueAllowChatParticipants"></a>
@ -1663,6 +1672,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$inputPrivacyValueDisallowAll](/API_docs/constructors/inputPrivacyValueDisallowAll.html) = \[\];<a name="inputPrivacyValueDisallowAll"></a>
***
<br><br>[$inputPrivacyValueDisallowBots](/API_docs/constructors/inputPrivacyValueDisallowBots.html) = \[\];<a name="inputPrivacyValueDisallowBots"></a>
***
<br><br>[$inputPrivacyValueDisallowChatParticipants](/API_docs/constructors/inputPrivacyValueDisallowChatParticipants.html) = \['chats' => \[[long](/API_docs/types/long.html)\], \];<a name="inputPrivacyValueDisallowChatParticipants"></a>
@ -1844,7 +1856,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$inputWebFileLocation](/API_docs/constructors/inputWebFileLocation.html) = \['url' => [string](/API_docs/types/string.html), 'access_hash' => [long](/API_docs/types/long.html), \];<a name="inputWebFileLocation"></a>
***
<br><br>[$invoice](/API_docs/constructors/invoice.html) = \['test' => [Bool](/API_docs/types/Bool.html), 'name_requested' => [Bool](/API_docs/types/Bool.html), 'phone_requested' => [Bool](/API_docs/types/Bool.html), 'email_requested' => [Bool](/API_docs/types/Bool.html), 'shipping_address_requested' => [Bool](/API_docs/types/Bool.html), 'flexible' => [Bool](/API_docs/types/Bool.html), 'phone_to_provider' => [Bool](/API_docs/types/Bool.html), 'email_to_provider' => [Bool](/API_docs/types/Bool.html), 'recurring' => [Bool](/API_docs/types/Bool.html), 'currency' => [string](/API_docs/types/string.html), 'prices' => \[[LabeledPrice](/API_docs/types/LabeledPrice.html)\], 'max_tip_amount' => [long](/API_docs/types/long.html), 'suggested_tip_amounts' => \[[long](/API_docs/types/long.html)\], 'terms_url' => [string](/API_docs/types/string.html), \];<a name="invoice"></a>
<br><br>[$invoice](/API_docs/constructors/invoice.html) = \['test' => [Bool](/API_docs/types/Bool.html), 'name_requested' => [Bool](/API_docs/types/Bool.html), 'phone_requested' => [Bool](/API_docs/types/Bool.html), 'email_requested' => [Bool](/API_docs/types/Bool.html), 'shipping_address_requested' => [Bool](/API_docs/types/Bool.html), 'flexible' => [Bool](/API_docs/types/Bool.html), 'phone_to_provider' => [Bool](/API_docs/types/Bool.html), 'email_to_provider' => [Bool](/API_docs/types/Bool.html), 'recurring' => [Bool](/API_docs/types/Bool.html), 'currency' => [string](/API_docs/types/string.html), 'prices' => \[[LabeledPrice](/API_docs/types/LabeledPrice.html)\], 'max_tip_amount' => [long](/API_docs/types/long.html), 'suggested_tip_amounts' => \[[long](/API_docs/types/long.html)\], 'terms_url' => [string](/API_docs/types/string.html), 'subscription_period' => [int](/API_docs/types/int.html), \];<a name="invoice"></a>
***
<br><br>[$jsonArray](/API_docs/constructors/jsonArray.html) = \['value' => \[[JSONValue](/API_docs/types/JSONValue.html)\], \];<a name="jsonArray"></a>
@ -2299,6 +2311,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$messages.botCallbackAnswer](/API_docs/constructors/messages.botCallbackAnswer.html) = \['alert' => [Bool](/API_docs/types/Bool.html), 'has_url' => [Bool](/API_docs/types/Bool.html), 'native_ui' => [Bool](/API_docs/types/Bool.html), 'message' => [string](/API_docs/types/string.html), 'url' => [string](/API_docs/types/string.html), 'cache_time' => [int](/API_docs/types/int.html), \];<a name="messages.botCallbackAnswer"></a>
***
<br><br>[$messages.botPreparedInlineMessage](/API_docs/constructors/messages.botPreparedInlineMessage.html) = \['id' => [string](/API_docs/types/string.html), 'expire_date' => [int](/API_docs/types/int.html), \];<a name="messages.botPreparedInlineMessage"></a>
***
<br><br>[$messages.botResults](/API_docs/constructors/messages.botResults.html) = \['gallery' => [Bool](/API_docs/types/Bool.html), 'query_id' => [long](/API_docs/types/long.html), 'next_offset' => [string](/API_docs/types/string.html), 'switch_pm' => [InlineBotSwitchPM](/API_docs/types/InlineBotSwitchPM.html), 'switch_webview' => [InlineBotWebView](/API_docs/types/InlineBotWebView.html), 'results' => \[[BotInlineResult](/API_docs/types/BotInlineResult.html)\], 'cache_time' => [int](/API_docs/types/int.html), 'users' => \[[User](/API_docs/types/User.html)\], \];<a name="messages.botResults"></a>
@ -2422,6 +2437,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$messages.peerSettings](/API_docs/constructors/messages.peerSettings.html) = \['settings' => [PeerSettings](/API_docs/types/PeerSettings.html), 'chats' => \[[Chat](/API_docs/types/Chat.html)\], 'users' => \[[User](/API_docs/types/User.html)\], \];<a name="messages.peerSettings"></a>
***
<br><br>[$messages.preparedInlineMessage](/API_docs/constructors/messages.preparedInlineMessage.html) = \['query_id' => [long](/API_docs/types/long.html), 'result' => [BotInlineResult](/API_docs/types/BotInlineResult.html), 'peer_types' => \[[InlineQueryPeerType](/API_docs/types/InlineQueryPeerType.html)\], 'cache_time' => [int](/API_docs/types/int.html), 'users' => \[[User](/API_docs/types/User.html)\], \];<a name="messages.preparedInlineMessage"></a>
***
<br><br>[$messages.quickReplies](/API_docs/constructors/messages.quickReplies.html) = \['quick_replies' => \[[QuickReply](/API_docs/types/QuickReply.html)\], 'messages' => \[[Message](/API_docs/types/Message.html)\], 'chats' => \[[Chat](/API_docs/types/Chat.html)\], 'users' => \[[User](/API_docs/types/User.html)\], \];<a name="messages.quickReplies"></a>
@ -2947,6 +2965,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$privacyKeyProfilePhoto](/API_docs/constructors/privacyKeyProfilePhoto.html) = \[\];<a name="privacyKeyProfilePhoto"></a>
***
<br><br>[$privacyKeyStarGiftsAutoSave](/API_docs/constructors/privacyKeyStarGiftsAutoSave.html) = \[\];<a name="privacyKeyStarGiftsAutoSave"></a>
***
<br><br>[$privacyKeyStatusTimestamp](/API_docs/constructors/privacyKeyStatusTimestamp.html) = \[\];<a name="privacyKeyStatusTimestamp"></a>
@ -2956,6 +2977,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$privacyValueAllowAll](/API_docs/constructors/privacyValueAllowAll.html) = \[\];<a name="privacyValueAllowAll"></a>
***
<br><br>[$privacyValueAllowBots](/API_docs/constructors/privacyValueAllowBots.html) = \[\];<a name="privacyValueAllowBots"></a>
***
<br><br>[$privacyValueAllowChatParticipants](/API_docs/constructors/privacyValueAllowChatParticipants.html) = \['chats' => \[[long](/API_docs/types/long.html)\], \];<a name="privacyValueAllowChatParticipants"></a>
@ -2974,6 +2998,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$privacyValueDisallowAll](/API_docs/constructors/privacyValueDisallowAll.html) = \[\];<a name="privacyValueDisallowAll"></a>
***
<br><br>[$privacyValueDisallowBots](/API_docs/constructors/privacyValueDisallowBots.html) = \[\];<a name="privacyValueDisallowBots"></a>
***
<br><br>[$privacyValueDisallowChatParticipants](/API_docs/constructors/privacyValueDisallowChatParticipants.html) = \['chats' => \[[long](/API_docs/types/long.html)\], \];<a name="privacyValueDisallowChatParticipants"></a>
@ -3278,7 +3305,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$sponsoredMessageReportOption](/API_docs/constructors/sponsoredMessageReportOption.html) = \['text' => [string](/API_docs/types/string.html), 'option' => [bytes](/API_docs/types/bytes.html), \];<a name="sponsoredMessageReportOption"></a>
***
<br><br>[$starGift](/API_docs/constructors/starGift.html) = \['limited' => [Bool](/API_docs/types/Bool.html), 'sold_out' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'sticker' => [Document](/API_docs/types/Document.html), 'stars' => [long](/API_docs/types/long.html), 'availability_remains' => [int](/API_docs/types/int.html), 'availability_total' => [int](/API_docs/types/int.html), 'convert_stars' => [long](/API_docs/types/long.html), 'first_sale_date' => [int](/API_docs/types/int.html), 'last_sale_date' => [int](/API_docs/types/int.html), \];<a name="starGift"></a>
<br><br>[$starGift](/API_docs/constructors/starGift.html) = \['limited' => [Bool](/API_docs/types/Bool.html), 'sold_out' => [Bool](/API_docs/types/Bool.html), 'birthday' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'sticker' => [Document](/API_docs/types/Document.html), 'stars' => [long](/API_docs/types/long.html), 'availability_remains' => [int](/API_docs/types/int.html), 'availability_total' => [int](/API_docs/types/int.html), 'convert_stars' => [long](/API_docs/types/long.html), 'first_sale_date' => [int](/API_docs/types/int.html), 'last_sale_date' => [int](/API_docs/types/int.html), \];<a name="starGift"></a>
***
<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>
@ -3293,7 +3320,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<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>
***
<br><br>[$starsSubscription](/API_docs/constructors/starsSubscription.html) = \['canceled' => [Bool](/API_docs/types/Bool.html), 'can_refulfill' => [Bool](/API_docs/types/Bool.html), 'missing_balance' => [Bool](/API_docs/types/Bool.html), 'id' => [string](/API_docs/types/string.html), 'peer' => [long](/API_docs/types/long.html), 'until_date' => [int](/API_docs/types/int.html), 'pricing' => [StarsSubscriptionPricing](/API_docs/types/StarsSubscriptionPricing.html), 'chat_invite_hash' => [string](/API_docs/types/string.html), \];<a name="starsSubscription"></a>
<br><br>[$starsSubscription](/API_docs/constructors/starsSubscription.html) = \['canceled' => [Bool](/API_docs/types/Bool.html), 'can_refulfill' => [Bool](/API_docs/types/Bool.html), 'missing_balance' => [Bool](/API_docs/types/Bool.html), 'bot_canceled' => [Bool](/API_docs/types/Bool.html), 'id' => [string](/API_docs/types/string.html), 'peer' => [long](/API_docs/types/long.html), 'until_date' => [int](/API_docs/types/int.html), 'pricing' => [StarsSubscriptionPricing](/API_docs/types/StarsSubscriptionPricing.html), 'chat_invite_hash' => [string](/API_docs/types/string.html), 'title' => [string](/API_docs/types/string.html), 'photo' => [WebDocument](/API_docs/types/WebDocument.html), 'invoice_slug' => [string](/API_docs/types/string.html), \];<a name="starsSubscription"></a>
***
<br><br>[$starsSubscriptionPricing](/API_docs/constructors/starsSubscriptionPricing.html) = \['period' => [int](/API_docs/types/int.html), 'amount' => [long](/API_docs/types/long.html), \];<a name="starsSubscriptionPricing"></a>
@ -3649,6 +3676,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
***
<br><br>[$updateBotStopped](/API_docs/constructors/updateBotStopped.html) = \['user_id' => [long](/API_docs/types/long.html), 'date' => [int](/API_docs/types/int.html), 'stopped' => [Bool](/API_docs/types/Bool.html), 'qts' => [int](/API_docs/types/int.html), \];<a name="updateBotStopped"></a>
***
<br><br>[$updateBotSubscriptionExpire](/API_docs/constructors/updateBotSubscriptionExpire.html) = \['user_id' => [long](/API_docs/types/long.html), 'payload' => [string](/API_docs/types/string.html), 'invoice_slug' => [string](/API_docs/types/string.html), 'until_date' => [int](/API_docs/types/int.html), 'qts' => [int](/API_docs/types/int.html), \];<a name="updateBotSubscriptionExpire"></a>
***
<br><br>[$updateBotWebhookJSON](/API_docs/constructors/updateBotWebhookJSON.html) = \['data' => [DataJSON](/API_docs/types/DataJSON.html), \];<a name="updateBotWebhookJSON"></a>
@ -4091,7 +4121,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$userEmpty](/API_docs/constructors/userEmpty.html) = \['id' => [long](/API_docs/types/long.html), \];<a name="userEmpty"></a>
***
<br><br>[$userFull](/API_docs/constructors/userFull.html) = \['blocked' => [Bool](/API_docs/types/Bool.html), 'phone_calls_available' => [Bool](/API_docs/types/Bool.html), 'phone_calls_private' => [Bool](/API_docs/types/Bool.html), 'can_pin_message' => [Bool](/API_docs/types/Bool.html), 'has_scheduled' => [Bool](/API_docs/types/Bool.html), 'video_calls_available' => [Bool](/API_docs/types/Bool.html), 'voice_messages_forbidden' => [Bool](/API_docs/types/Bool.html), 'translations_disabled' => [Bool](/API_docs/types/Bool.html), 'stories_pinned_available' => [Bool](/API_docs/types/Bool.html), 'blocked_my_stories_from' => [Bool](/API_docs/types/Bool.html), 'wallpaper_overridden' => [Bool](/API_docs/types/Bool.html), 'contact_require_premium' => [Bool](/API_docs/types/Bool.html), 'read_dates_private' => [Bool](/API_docs/types/Bool.html), 'sponsored_enabled' => [Bool](/API_docs/types/Bool.html), 'can_view_revenue' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'about' => [string](/API_docs/types/string.html), 'settings' => [PeerSettings](/API_docs/types/PeerSettings.html), 'personal_photo' => [Photo](/API_docs/types/Photo.html), 'profile_photo' => [Photo](/API_docs/types/Photo.html), 'fallback_photo' => [Photo](/API_docs/types/Photo.html), 'notify_settings' => [PeerNotifySettings](/API_docs/types/PeerNotifySettings.html), 'bot_info' => [BotInfo](/API_docs/types/BotInfo.html), 'pinned_msg_id' => [int](/API_docs/types/int.html), 'common_chats_count' => [int](/API_docs/types/int.html), 'folder_id' => [int](/API_docs/types/int.html), 'ttl_period' => [int](/API_docs/types/int.html), 'theme_emoticon' => [string](/API_docs/types/string.html), 'private_forward_name' => [string](/API_docs/types/string.html), 'bot_group_admin_rights' => [ChatAdminRights](/API_docs/types/ChatAdminRights.html), 'bot_broadcast_admin_rights' => [ChatAdminRights](/API_docs/types/ChatAdminRights.html), 'premium_gifts' => \[[PremiumGiftOption](/API_docs/types/PremiumGiftOption.html)\], 'wallpaper' => [WallPaper](/API_docs/types/WallPaper.html), 'stories' => [PeerStories](/API_docs/types/PeerStories.html), 'business_work_hours' => [BusinessWorkHours](/API_docs/types/BusinessWorkHours.html), 'business_location' => [BusinessLocation](/API_docs/types/BusinessLocation.html), 'business_greeting_message' => [BusinessGreetingMessage](/API_docs/types/BusinessGreetingMessage.html), 'business_away_message' => [BusinessAwayMessage](/API_docs/types/BusinessAwayMessage.html), 'business_intro' => [BusinessIntro](/API_docs/types/BusinessIntro.html), 'birthday' => [Birthday](/API_docs/types/Birthday.html), 'personal_channel_id' => [long](/API_docs/types/long.html), 'personal_channel_message' => [int](/API_docs/types/int.html), 'stargifts_count' => [int](/API_docs/types/int.html), \];<a name="userFull"></a>
<br><br>[$userFull](/API_docs/constructors/userFull.html) = \['blocked' => [Bool](/API_docs/types/Bool.html), 'phone_calls_available' => [Bool](/API_docs/types/Bool.html), 'phone_calls_private' => [Bool](/API_docs/types/Bool.html), 'can_pin_message' => [Bool](/API_docs/types/Bool.html), 'has_scheduled' => [Bool](/API_docs/types/Bool.html), 'video_calls_available' => [Bool](/API_docs/types/Bool.html), 'voice_messages_forbidden' => [Bool](/API_docs/types/Bool.html), 'translations_disabled' => [Bool](/API_docs/types/Bool.html), 'stories_pinned_available' => [Bool](/API_docs/types/Bool.html), 'blocked_my_stories_from' => [Bool](/API_docs/types/Bool.html), 'wallpaper_overridden' => [Bool](/API_docs/types/Bool.html), 'contact_require_premium' => [Bool](/API_docs/types/Bool.html), 'read_dates_private' => [Bool](/API_docs/types/Bool.html), 'sponsored_enabled' => [Bool](/API_docs/types/Bool.html), 'can_view_revenue' => [Bool](/API_docs/types/Bool.html), 'bot_can_manage_emoji_status' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'about' => [string](/API_docs/types/string.html), 'settings' => [PeerSettings](/API_docs/types/PeerSettings.html), 'personal_photo' => [Photo](/API_docs/types/Photo.html), 'profile_photo' => [Photo](/API_docs/types/Photo.html), 'fallback_photo' => [Photo](/API_docs/types/Photo.html), 'notify_settings' => [PeerNotifySettings](/API_docs/types/PeerNotifySettings.html), 'bot_info' => [BotInfo](/API_docs/types/BotInfo.html), 'pinned_msg_id' => [int](/API_docs/types/int.html), 'common_chats_count' => [int](/API_docs/types/int.html), 'folder_id' => [int](/API_docs/types/int.html), 'ttl_period' => [int](/API_docs/types/int.html), 'theme_emoticon' => [string](/API_docs/types/string.html), 'private_forward_name' => [string](/API_docs/types/string.html), 'bot_group_admin_rights' => [ChatAdminRights](/API_docs/types/ChatAdminRights.html), 'bot_broadcast_admin_rights' => [ChatAdminRights](/API_docs/types/ChatAdminRights.html), 'premium_gifts' => \[[PremiumGiftOption](/API_docs/types/PremiumGiftOption.html)\], 'wallpaper' => [WallPaper](/API_docs/types/WallPaper.html), 'stories' => [PeerStories](/API_docs/types/PeerStories.html), 'business_work_hours' => [BusinessWorkHours](/API_docs/types/BusinessWorkHours.html), 'business_location' => [BusinessLocation](/API_docs/types/BusinessLocation.html), 'business_greeting_message' => [BusinessGreetingMessage](/API_docs/types/BusinessGreetingMessage.html), 'business_away_message' => [BusinessAwayMessage](/API_docs/types/BusinessAwayMessage.html), 'business_intro' => [BusinessIntro](/API_docs/types/BusinessIntro.html), 'birthday' => [Birthday](/API_docs/types/Birthday.html), 'personal_channel_id' => [long](/API_docs/types/long.html), 'personal_channel_message' => [int](/API_docs/types/int.html), 'stargifts_count' => [int](/API_docs/types/int.html), \];<a name="userFull"></a>
***
<br><br>[$userProfilePhoto](/API_docs/constructors/userProfilePhoto.html) = \['has_video' => [Bool](/API_docs/types/Bool.html), 'personal' => [Bool](/API_docs/types/Bool.html), 'photo_id' => [long](/API_docs/types/long.html), 'stripped_thumb' => [bytes](/API_docs/types/bytes.html), 'dc_id' => [int](/API_docs/types/int.html), \];<a name="userProfilePhoto"></a>
@ -4178,6 +4208,6 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
<br><br>[$webViewMessageSent](/API_docs/constructors/webViewMessageSent.html) = \['msg_id' => [InputBotInlineMessageID](/API_docs/types/InputBotInlineMessageID.html), \];<a name="webViewMessageSent"></a>
***
<br><br>[$webViewResultUrl](/API_docs/constructors/webViewResultUrl.html) = \['fullsize' => [Bool](/API_docs/types/Bool.html), 'query_id' => [long](/API_docs/types/long.html), 'url' => [string](/API_docs/types/string.html), \];<a name="webViewResultUrl"></a>
<br><br>[$webViewResultUrl](/API_docs/constructors/webViewResultUrl.html) = \['fullsize' => [Bool](/API_docs/types/Bool.html), 'fullscreen' => [Bool](/API_docs/types/Bool.html), 'query_id' => [long](/API_docs/types/long.html), 'url' => [string](/API_docs/types/string.html), \];<a name="webViewResultUrl"></a>

View File

@ -0,0 +1,22 @@
---
title: "inputPrivacyKeyStarGiftsAutoSave"
description: "inputPrivacyKeyStarGiftsAutoSave attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyKeyStarGiftsAutoSave
[Back to constructors index](/API_docs/constructors/index.html)
### Type: [InputPrivacyKey](/API_docs/types/InputPrivacyKey.html)
### Example:
```
$inputPrivacyKeyStarGiftsAutoSave = ['_' => 'inputPrivacyKeyStarGiftsAutoSave'];
```

View File

@ -0,0 +1,22 @@
---
title: "inputPrivacyValueAllowBots"
description: "inputPrivacyValueAllowBots attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyValueAllowBots
[Back to constructors index](/API_docs/constructors/index.html)
### Type: [InputPrivacyRule](/API_docs/types/InputPrivacyRule.html)
### Example:
```
$inputPrivacyValueAllowBots = ['_' => 'inputPrivacyValueAllowBots'];
```

View File

@ -0,0 +1,22 @@
---
title: "inputPrivacyValueDisallowBots"
description: "inputPrivacyValueDisallowBots attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPrivacyValueDisallowBots
[Back to constructors index](/API_docs/constructors/index.html)
### Type: [InputPrivacyRule](/API_docs/types/InputPrivacyRule.html)
### Example:
```
$inputPrivacyValueDisallowBots = ['_' => 'inputPrivacyValueDisallowBots'];
```

View File

@ -29,6 +29,7 @@ Invoice
|max\_tip\_amount|[long](/API_docs/types/long.html) | Optional|The maximum accepted amount for tips in the smallest units of the currency (integer, not float/double). For example, for a price of `US$ 1.45` pass `amount = 145`. See the exp parameter in [currencies.json](https://core.telegram.org/bots/payments/currencies.json), it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).|
|suggested\_tip\_amounts|Array of [long](/API_docs/types/long.html) | Optional|A vector of suggested amounts of tips in the *smallest units* of the currency (integer, not float/double). At most 4 suggested tip amounts can be specified. The suggested tip amounts must be positive, passed in a strictly increased order and must not exceed `max_tip_amount`.|
|terms\_url|[string](/API_docs/types/string.html) | Optional|Terms of service URL|
|subscription\_period|[int](/API_docs/types/int.html) | Optional|
@ -38,5 +39,5 @@ Invoice
### Example:
```
$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'recurring' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice], 'max_tip_amount' => long, 'suggested_tip_amounts' => [long, long], 'terms_url' => 'string'];
$invoice = ['_' => 'invoice', 'test' => Bool, 'name_requested' => Bool, 'phone_requested' => Bool, 'email_requested' => Bool, 'shipping_address_requested' => Bool, 'flexible' => Bool, 'phone_to_provider' => Bool, 'email_to_provider' => Bool, 'recurring' => Bool, 'currency' => 'string', 'prices' => [LabeledPrice, LabeledPrice], 'max_tip_amount' => long, 'suggested_tip_amounts' => [long, long], 'terms_url' => 'string', 'subscription_period' => int];
```

View File

@ -18,7 +18,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|converted|[Bool](/API_docs/types/Bool.html) | Optional|
|gift|[StarGift](/API_docs/types/StarGift.html) | Yes|
|message|[TextWithEntities](/API_docs/types/TextWithEntities.html) | Optional|
|convert\_stars|[long](/API_docs/types/long.html) | Yes|
|convert\_stars|[long](/API_docs/types/long.html) | Optional|

View File

@ -0,0 +1,29 @@
---
title: "messages.botPreparedInlineMessage"
description: "messages.botPreparedInlineMessage attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_botPreparedInlineMessage.html
---
# Constructor: messages.botPreparedInlineMessage
[Back to constructors index](/API_docs/constructors/index.html)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|id|[string](/API_docs/types/string.html) | Yes|
|expire\_date|[int](/API_docs/types/int.html) | Yes|
### Type: [messages.BotPreparedInlineMessage](/API_docs/types/messages.BotPreparedInlineMessage.html)
### Example:
```
$messages_botPreparedInlineMessage = ['_' => 'messages.botPreparedInlineMessage', 'id' => 'string', 'expire_date' => int];
```

View File

@ -0,0 +1,32 @@
---
title: "messages.preparedInlineMessage"
description: "messages.preparedInlineMessage attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/constructors/messages_preparedInlineMessage.html
---
# Constructor: messages.preparedInlineMessage
[Back to constructors index](/API_docs/constructors/index.html)
### Attributes:
| Name | Type | Required |
|----------|---------------|----------|
|query\_id|[long](/API_docs/types/long.html) | Yes|
|result|[BotInlineResult](/API_docs/types/BotInlineResult.html) | Yes|
|peer\_types|Array of [InlineQueryPeerType](/API_docs/types/InlineQueryPeerType.html) | Yes|
|cache\_time|[int](/API_docs/types/int.html) | Yes|
|users|Array of [User](/API_docs/types/User.html) | Yes|
### Type: [messages.PreparedInlineMessage](/API_docs/types/messages.PreparedInlineMessage.html)
### Example:
```
$messages_preparedInlineMessage = ['_' => 'messages.preparedInlineMessage', 'query_id' => long, 'result' => BotInlineResult, 'peer_types' => [InlineQueryPeerType, InlineQueryPeerType], 'cache_time' => int, 'users' => [User, User]];
```

View File

@ -0,0 +1,22 @@
---
title: "privacyKeyStarGiftsAutoSave"
description: "privacyKeyStarGiftsAutoSave attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyKeyStarGiftsAutoSave
[Back to constructors index](/API_docs/constructors/index.html)
### Type: [PrivacyKey](/API_docs/types/PrivacyKey.html)
### Example:
```
$privacyKeyStarGiftsAutoSave = ['_' => 'privacyKeyStarGiftsAutoSave'];
```

View File

@ -0,0 +1,22 @@
---
title: "privacyValueAllowBots"
description: "privacyValueAllowBots attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyValueAllowBots
[Back to constructors index](/API_docs/constructors/index.html)
### Type: [PrivacyRule](/API_docs/types/PrivacyRule.html)
### Example:
```
$privacyValueAllowBots = ['_' => 'privacyValueAllowBots'];
```

View File

@ -0,0 +1,22 @@
---
title: "privacyValueDisallowBots"
description: "privacyValueDisallowBots attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: privacyValueDisallowBots
[Back to constructors index](/API_docs/constructors/index.html)
### Type: [PrivacyRule](/API_docs/types/PrivacyRule.html)
### Example:
```
$privacyValueDisallowBots = ['_' => 'privacyValueDisallowBots'];
```

View File

@ -15,6 +15,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|----------|---------------|----------|
|limited|[Bool](/API_docs/types/Bool.html) | Optional|
|sold\_out|[Bool](/API_docs/types/Bool.html) | Optional|
|birthday|[Bool](/API_docs/types/Bool.html) | Optional|
|id|[long](/API_docs/types/long.html) | Yes|
|sticker|[Document](/API_docs/types/Document.html) | Optional|
|stars|[long](/API_docs/types/long.html) | Yes|
@ -32,5 +33,5 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
### Example:
```
$starGift = ['_' => 'starGift', 'limited' => Bool, 'sold_out' => Bool, 'id' => long, 'sticker' => Document, 'stars' => long, 'availability_remains' => int, 'availability_total' => int, 'convert_stars' => long, 'first_sale_date' => int, 'last_sale_date' => int];
$starGift = ['_' => 'starGift', 'limited' => Bool, 'sold_out' => Bool, 'birthday' => Bool, 'id' => long, 'sticker' => Document, 'stars' => long, 'availability_remains' => int, 'availability_total' => int, 'convert_stars' => long, 'first_sale_date' => int, 'last_sale_date' => int];
```

View File

@ -16,11 +16,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|canceled|[Bool](/API_docs/types/Bool.html) | Optional|
|can\_refulfill|[Bool](/API_docs/types/Bool.html) | Optional|
|missing\_balance|[Bool](/API_docs/types/Bool.html) | Optional|
|bot\_canceled|[Bool](/API_docs/types/Bool.html) | Optional|
|id|[string](/API_docs/types/string.html) | Yes|
|peer|[long](/API_docs/types/long.html) | Yes|
|until\_date|[int](/API_docs/types/int.html) | Yes|
|pricing|[StarsSubscriptionPricing](/API_docs/types/StarsSubscriptionPricing.html) | Yes|
|chat\_invite\_hash|[string](/API_docs/types/string.html) | Optional|
|title|[string](/API_docs/types/string.html) | Optional|
|photo|[WebDocument](/API_docs/types/WebDocument.html) | Optional|
|invoice\_slug|[string](/API_docs/types/string.html) | Optional|
@ -30,5 +34,5 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
### Example:
```
$starsSubscription = ['_' => 'starsSubscription', 'canceled' => Bool, 'can_refulfill' => Bool, 'missing_balance' => Bool, 'id' => 'string', 'peer' => long, 'until_date' => int, 'pricing' => StarsSubscriptionPricing, 'chat_invite_hash' => 'string'];
$starsSubscription = ['_' => 'starsSubscription', 'canceled' => Bool, 'can_refulfill' => Bool, 'missing_balance' => Bool, 'bot_canceled' => Bool, 'id' => 'string', 'peer' => long, 'until_date' => int, 'pricing' => StarsSubscriptionPricing, 'chat_invite_hash' => 'string', 'title' => 'string', 'photo' => WebDocument, 'invoice_slug' => 'string'];
```

View File

@ -0,0 +1,31 @@
---
title: "updateBotSubscriptionExpire"
description: "updateBotSubscriptionExpire attributes, type and example"
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: updateBotSubscriptionExpire
[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|
|invoice\_slug|[string](/API_docs/types/string.html) | Yes|
|until\_date|[int](/API_docs/types/int.html) | Yes|
|qts|[int](/API_docs/types/int.html) | Yes|
### Type: [Update](/API_docs/types/Update.html)
### Example:
```
$updateBotSubscriptionExpire = ['_' => 'updateBotSubscriptionExpire', 'user_id' => long, 'payload' => 'string', 'invoice_slug' => 'string', 'until_date' => int, 'qts' => int];
```

View File

@ -30,6 +30,7 @@ Extended user info
|read\_dates\_private|[Bool](/API_docs/types/Bool.html) | Optional|
|sponsored\_enabled|[Bool](/API_docs/types/Bool.html) | Optional|
|can\_view\_revenue|[Bool](/API_docs/types/Bool.html) | Optional|
|bot\_can\_manage\_emoji\_status|[Bool](/API_docs/types/Bool.html) | Optional|
|id|[long](/API_docs/types/long.html) | Yes|User ID|
|about|[string](/API_docs/types/string.html) | Optional|Bio of the user|
|settings|[PeerSettings](/API_docs/types/PeerSettings.html) | Yes|Peer settings|
@ -67,5 +68,5 @@ Extended user info
### Example:
```
$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'has_scheduled' => Bool, 'video_calls_available' => Bool, 'voice_messages_forbidden' => Bool, 'translations_disabled' => Bool, 'stories_pinned_available' => Bool, 'blocked_my_stories_from' => Bool, 'wallpaper_overridden' => Bool, 'contact_require_premium' => Bool, 'read_dates_private' => Bool, 'sponsored_enabled' => Bool, 'can_view_revenue' => Bool, 'id' => long, 'about' => 'string', 'settings' => PeerSettings, 'personal_photo' => Photo, 'profile_photo' => Photo, 'fallback_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int, 'folder_id' => int, 'ttl_period' => int, 'theme_emoticon' => 'string', 'private_forward_name' => 'string', 'bot_group_admin_rights' => ChatAdminRights, 'bot_broadcast_admin_rights' => ChatAdminRights, 'premium_gifts' => [PremiumGiftOption, PremiumGiftOption], 'wallpaper' => WallPaper, 'stories' => PeerStories, 'business_work_hours' => BusinessWorkHours, 'business_location' => BusinessLocation, 'business_greeting_message' => BusinessGreetingMessage, 'business_away_message' => BusinessAwayMessage, 'business_intro' => BusinessIntro, 'birthday' => Birthday, 'personal_channel_id' => long, 'personal_channel_message' => int, 'stargifts_count' => int];
$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'has_scheduled' => Bool, 'video_calls_available' => Bool, 'voice_messages_forbidden' => Bool, 'translations_disabled' => Bool, 'stories_pinned_available' => Bool, 'blocked_my_stories_from' => Bool, 'wallpaper_overridden' => Bool, 'contact_require_premium' => Bool, 'read_dates_private' => Bool, 'sponsored_enabled' => Bool, 'can_view_revenue' => Bool, 'bot_can_manage_emoji_status' => Bool, 'id' => long, 'about' => 'string', 'settings' => PeerSettings, 'personal_photo' => Photo, 'profile_photo' => Photo, 'fallback_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int, 'folder_id' => int, 'ttl_period' => int, 'theme_emoticon' => 'string', 'private_forward_name' => 'string', 'bot_group_admin_rights' => ChatAdminRights, 'bot_broadcast_admin_rights' => ChatAdminRights, 'premium_gifts' => [PremiumGiftOption, PremiumGiftOption], 'wallpaper' => WallPaper, 'stories' => PeerStories, 'business_work_hours' => BusinessWorkHours, 'business_location' => BusinessLocation, 'business_greeting_message' => BusinessGreetingMessage, 'business_away_message' => BusinessAwayMessage, 'business_intro' => BusinessIntro, 'birthday' => Birthday, 'personal_channel_id' => long, 'personal_channel_message' => int, 'stargifts_count' => int];
```

View File

@ -16,6 +16,7 @@ Contains the webview URL with appropriate theme and user info parameters added
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|fullsize|[Bool](/API_docs/types/Bool.html) | Optional|
|fullscreen|[Bool](/API_docs/types/Bool.html) | Optional|
|query\_id|[long](/API_docs/types/long.html) | Optional|Webview session ID|
|url|[string](/API_docs/types/string.html) | Yes|Webview URL to open|
@ -27,5 +28,5 @@ Contains the webview URL with appropriate theme and user info parameters added
### Example:
```
$webViewResultUrl = ['_' => 'webViewResultUrl', 'fullsize' => Bool, 'query_id' => long, 'url' => 'string'];
$webViewResultUrl = ['_' => 'webViewResultUrl', 'fullsize' => Bool, 'fullscreen' => Bool, 'query_id' => long, 'url' => 'string'];
```

View File

@ -1,6 +1,6 @@
---
title: "Telegram RPC API"
description: "MadelineProto API documentation (layer 192)"
description: "MadelineProto API documentation (layer 193)"
has_children: true
has_toc: false
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

View File

@ -591,6 +591,10 @@ $MadelineProto->[bots->answerWebhookJSONQuery](/API_docs/methods/bots.answerWebh
<br><br>
$MadelineProto->[bots->canSendMessage](/API_docs/methods/bots.canSendMessage.html)(\[bot: $[InputUser](/API_docs/types/InputUser.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.canSendMessage"></a>
***
<br><br>
$MadelineProto->[bots->checkDownloadFileParams](/API_docs/methods/bots.checkDownloadFileParams.html)(\[bot: $[InputUser](/API_docs/types/InputUser.html), file_name: $[string](/API_docs/types/string.html), url: $[string](/API_docs/types/string.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.checkDownloadFileParams"></a>
***
<br><br>
$MadelineProto->[bots->deletePreviewMedia](/API_docs/methods/bots.deletePreviewMedia.html)(\[bot: $[InputUser](/API_docs/types/InputUser.html), lang_code: $[string](/API_docs/types/string.html), media: \[$[InputMedia](/API_docs/types/InputMedia.html)\], \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.deletePreviewMedia"></a>
@ -663,10 +667,18 @@ $MadelineProto->[bots->setBotInfo](/API_docs/methods/bots.setBotInfo.html)(\[bot
<br><br>
$MadelineProto->[bots->setBotMenuButton](/API_docs/methods/bots.setBotMenuButton.html)(\[user_id: $[InputUser](/API_docs/types/InputUser.html), button: $[BotMenuButton](/API_docs/types/BotMenuButton.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.setBotMenuButton"></a>
***
<br><br>
$MadelineProto->[bots->toggleUserEmojiStatusPermission](/API_docs/methods/bots.toggleUserEmojiStatusPermission.html)(\[bot: $[InputUser](/API_docs/types/InputUser.html), enabled: $[Bool](/API_docs/types/Bool.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.toggleUserEmojiStatusPermission"></a>
***
<br><br>
$MadelineProto->[bots->toggleUsername](/API_docs/methods/bots.toggleUsername.html)(\[bot: $[InputUser](/API_docs/types/InputUser.html), username: $[string](/API_docs/types/string.html), active: $[Bool](/API_docs/types/Bool.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.toggleUsername"></a>
***
<br><br>
$MadelineProto->[bots->updateUserEmojiStatus](/API_docs/methods/bots.updateUserEmojiStatus.html)(\[user_id: $[InputUser](/API_docs/types/InputUser.html), emoji_status: $[EmojiStatus](/API_docs/types/EmojiStatus.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="bots.updateUserEmojiStatus"></a>
***
<br><br>
$MadelineProto->[channels->checkUsername](/API_docs/methods/channels.checkUsername.html)(\[channel: $[InputChannel](/API_docs/types/InputChannel.html), username: $[string](/API_docs/types/string.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="channels.checkUsername"></a>
@ -1627,6 +1639,10 @@ $MadelineProto->[messages->getPollResults](/API_docs/methods/messages.getPollRes
<br><br>
$MadelineProto->[messages->getPollVotes](/API_docs/methods/messages.getPollVotes.html)(\[peer: $[InputPeer](/API_docs/types/InputPeer.html), id: $[int](/API_docs/types/int.html), option: $[bytes](/API_docs/types/bytes.html), offset: $[string](/API_docs/types/string.html), limit: $[int](/API_docs/types/int.html), \]) === [$messages.VotesList](/API_docs/types/messages.VotesList.html)<a name="messages.getPollVotes"></a>
***
<br><br>
$MadelineProto->[messages->getPreparedInlineMessage](/API_docs/methods/messages.getPreparedInlineMessage.html)(\[bot: $[InputUser](/API_docs/types/InputUser.html), id: $[string](/API_docs/types/string.html), \]) === [$messages.PreparedInlineMessage](/API_docs/types/messages.PreparedInlineMessage.html)<a name="messages.getPreparedInlineMessage"></a>
***
<br><br>
$MadelineProto->[messages->getQuickReplies](/API_docs/methods/messages.getQuickReplies.html)(\[hash: $[long](/API_docs/types/long.html), \]) === [$messages.QuickReplies](/API_docs/types/messages.QuickReplies.html)<a name="messages.getQuickReplies"></a>
@ -1841,7 +1857,7 @@ $MadelineProto->[messages->reportSponsoredMessage](/API_docs/methods/messages.re
***
<br><br>
$MadelineProto->[messages->requestAppWebView](/API_docs/methods/messages.requestAppWebView.html)(\[write_allowed: $[Bool](/API_docs/types/Bool.html), compact: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), app: $[InputBotApp](/API_docs/types/InputBotApp.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestAppWebView"></a>
$MadelineProto->[messages->requestAppWebView](/API_docs/methods/messages.requestAppWebView.html)(\[write_allowed: $[Bool](/API_docs/types/Bool.html), compact: $[Bool](/API_docs/types/Bool.html), fullscreen: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), app: $[InputBotApp](/API_docs/types/InputBotApp.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestAppWebView"></a>
***
<br><br>
@ -1849,11 +1865,11 @@ $MadelineProto->[messages->requestEncryption](/API_docs/methods/messages.request
***
<br><br>
$MadelineProto->[messages->requestMainWebView](/API_docs/methods/messages.requestMainWebView.html)(\[compact: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), bot: $[InputUser](/API_docs/types/InputUser.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestMainWebView"></a>
$MadelineProto->[messages->requestMainWebView](/API_docs/methods/messages.requestMainWebView.html)(\[compact: $[Bool](/API_docs/types/Bool.html), fullscreen: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), bot: $[InputUser](/API_docs/types/InputUser.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestMainWebView"></a>
***
<br><br>
$MadelineProto->[messages->requestSimpleWebView](/API_docs/methods/messages.requestSimpleWebView.html)(\[from_switch_webview: $[Bool](/API_docs/types/Bool.html), from_side_menu: $[Bool](/API_docs/types/Bool.html), compact: $[Bool](/API_docs/types/Bool.html), bot: $[InputUser](/API_docs/types/InputUser.html), url: $[string](/API_docs/types/string.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestSimpleWebView"></a>
$MadelineProto->[messages->requestSimpleWebView](/API_docs/methods/messages.requestSimpleWebView.html)(\[from_switch_webview: $[Bool](/API_docs/types/Bool.html), from_side_menu: $[Bool](/API_docs/types/Bool.html), compact: $[Bool](/API_docs/types/Bool.html), fullscreen: $[Bool](/API_docs/types/Bool.html), bot: $[InputUser](/API_docs/types/InputUser.html), url: $[string](/API_docs/types/string.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestSimpleWebView"></a>
***
<br><br>
@ -1861,7 +1877,7 @@ $MadelineProto->[messages->requestUrlAuth](/API_docs/methods/messages.requestUrl
***
<br><br>
$MadelineProto->[messages->requestWebView](/API_docs/methods/messages.requestWebView.html)(\[from_bot_menu: $[Bool](/API_docs/types/Bool.html), silent: $[Bool](/API_docs/types/Bool.html), compact: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), bot: $[InputUser](/API_docs/types/InputUser.html), url: $[string](/API_docs/types/string.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), reply_to: $[InputReplyTo](/API_docs/types/InputReplyTo.html), send_as: $[InputPeer](/API_docs/types/InputPeer.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestWebView"></a>
$MadelineProto->[messages->requestWebView](/API_docs/methods/messages.requestWebView.html)(\[from_bot_menu: $[Bool](/API_docs/types/Bool.html), silent: $[Bool](/API_docs/types/Bool.html), compact: $[Bool](/API_docs/types/Bool.html), fullscreen: $[Bool](/API_docs/types/Bool.html), peer: $[InputPeer](/API_docs/types/InputPeer.html), bot: $[InputUser](/API_docs/types/InputUser.html), url: $[string](/API_docs/types/string.html), start_param: $[string](/API_docs/types/string.html), theme_params: $[DataJSON](/API_docs/types/DataJSON.html), platform: $[string](/API_docs/types/string.html), reply_to: $[InputReplyTo](/API_docs/types/InputReplyTo.html), send_as: $[InputPeer](/API_docs/types/InputPeer.html), \]) === [$WebViewResult](/API_docs/types/WebViewResult.html)<a name="messages.requestWebView"></a>
***
<br><br>
@ -1875,6 +1891,10 @@ $MadelineProto->[messages->saveDraft](/API_docs/methods/messages.saveDraft.html)
<br><br>
$MadelineProto->[messages->saveGif](/API_docs/methods/messages.saveGif.html)(\[id: $[InputDocument](/API_docs/types/InputDocument.html), unsave: $[Bool](/API_docs/types/Bool.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="messages.saveGif"></a>
***
<br><br>
$MadelineProto->[messages->savePreparedInlineMessage](/API_docs/methods/messages.savePreparedInlineMessage.html)(\[result: $[InputBotInlineResult](/API_docs/types/InputBotInlineResult.html), user_id: $[InputUser](/API_docs/types/InputUser.html), peer_types: \[$[InlineQueryPeerType](/API_docs/types/InlineQueryPeerType.html)\], \]) === [$messages.BotPreparedInlineMessage](/API_docs/types/messages.BotPreparedInlineMessage.html)<a name="messages.savePreparedInlineMessage"></a>
***
<br><br>
$MadelineProto->[messages->saveRecentSticker](/API_docs/methods/messages.saveRecentSticker.html)(\[attached: $[Bool](/API_docs/types/Bool.html), id: $[InputDocument](/API_docs/types/InputDocument.html), unsave: $[Bool](/API_docs/types/Bool.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="messages.saveRecentSticker"></a>
@ -2123,6 +2143,10 @@ $MadelineProto->[payments->assignAppStoreTransaction](/API_docs/methods/payments
<br><br>
$MadelineProto->[payments->assignPlayMarketTransaction](/API_docs/methods/payments.assignPlayMarketTransaction.html)(\[receipt: $[DataJSON](/API_docs/types/DataJSON.html), purpose: $[InputStorePaymentPurpose](/API_docs/types/InputStorePaymentPurpose.html), \]) === [$Updates](/API_docs/types/Updates.html)<a name="payments.assignPlayMarketTransaction"></a>
***
<br><br>
$MadelineProto->[payments->botCancelStarsSubscription](/API_docs/methods/payments.botCancelStarsSubscription.html)(\[restore: $[Bool](/API_docs/types/Bool.html), user_id: $[InputUser](/API_docs/types/InputUser.html), invoice_slug: $[string](/API_docs/types/string.html), charge_id: $[string](/API_docs/types/string.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="payments.botCancelStarsSubscription"></a>
***
<br><br>
$MadelineProto->[payments->canPurchasePremium](/API_docs/methods/payments.canPurchasePremium.html)(\[purpose: $[InputStorePaymentPurpose](/API_docs/types/InputStorePaymentPurpose.html), \]) === [$Bool](/API_docs/types/Bool.html)<a name="payments.canPurchasePremium"></a>

View File

@ -0,0 +1,42 @@
---
title: "bots.checkDownloadFileParams"
description: "bots.checkDownloadFileParams 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/bots_checkDownloadFileParams.html
---
# Method: bots.checkDownloadFileParams
[Back to methods index](index.html)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|bot|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|file\_name|[string](/API_docs/types/string.html) | Optional|
|url|[string](/API_docs/types/string.html) | Optional|
### Return type: [Bool](/API_docs/types/Bool.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();
$Bool = $MadelineProto->bots->checkDownloadFileParams(bot: $InputUser, file_name: 'string', url: 'string', );
```

View File

@ -0,0 +1,41 @@
---
title: "bots.toggleUserEmojiStatusPermission"
description: "bots.toggleUserEmojiStatusPermission 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/bots_toggleUserEmojiStatusPermission.html
---
# Method: bots.toggleUserEmojiStatusPermission
[Back to methods index](index.html)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|bot|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|enabled|[Bool](/API_docs/types/Bool.html) | Yes|
### Return type: [Bool](/API_docs/types/Bool.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();
$Bool = $MadelineProto->bots->toggleUserEmojiStatusPermission(bot: $InputUser, enabled: $Bool, );
```

View File

@ -0,0 +1,41 @@
---
title: "bots.updateUserEmojiStatus"
description: "bots.updateUserEmojiStatus 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/bots_updateUserEmojiStatus.html
---
# Method: bots.updateUserEmojiStatus
[Back to methods index](index.html)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|user\_id|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|emoji\_status|[EmojiStatus](/API_docs/types/EmojiStatus.html) | Optional|
### Return type: [Bool](/API_docs/types/Bool.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();
$Bool = $MadelineProto->bots->updateUserEmojiStatus(user_id: $InputUser, emoji_status: $EmojiStatus, );
```

View File

@ -1618,6 +1618,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="bots.addPreviewMedia.html" name="bots.addPreviewMedia">bots.addPreviewMedia</a>
* <a href="bots.checkDownloadFileParams.html" name="bots.checkDownloadFileParams">bots.checkDownloadFileParams</a>
* <a href="bots.deletePreviewMedia.html" name="bots.deletePreviewMedia">bots.deletePreviewMedia</a>
* <a href="bots.editPreviewMedia.html" name="bots.editPreviewMedia">bots.editPreviewMedia</a>
@ -1630,6 +1632,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="bots.reorderPreviewMedias.html" name="bots.reorderPreviewMedias">bots.reorderPreviewMedias</a>
* <a href="bots.toggleUserEmojiStatusPermission.html" name="bots.toggleUserEmojiStatusPermission">bots.toggleUserEmojiStatusPermission</a>
* <a href="bots.updateUserEmojiStatus.html" name="bots.updateUserEmojiStatus">bots.updateUserEmojiStatus</a>
* <a href="channels.restrictSponsoredMessages.html" name="channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a>
* <a href="channels.searchPosts.html" name="channels.searchPosts">channels.searchPosts</a>
@ -1678,6 +1684,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="messages.getPaidReactionPrivacy.html" name="messages.getPaidReactionPrivacy">messages.getPaidReactionPrivacy</a>
* <a href="messages.getPreparedInlineMessage.html" name="messages.getPreparedInlineMessage">messages.getPreparedInlineMessage</a>
* <a href="messages.getQuickReplies.html" name="messages.getQuickReplies">messages.getQuickReplies</a>
* <a href="messages.getQuickReplyMessages.html" name="messages.getQuickReplyMessages">messages.getQuickReplyMessages</a>
@ -1692,6 +1700,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="messages.requestMainWebView.html" name="messages.requestMainWebView">messages.requestMainWebView</a>
* <a href="messages.savePreparedInlineMessage.html" name="messages.savePreparedInlineMessage">messages.savePreparedInlineMessage</a>
* <a href="messages.sendPaidReaction.html" name="messages.sendPaidReaction">messages.sendPaidReaction</a>
* <a href="messages.sendQuickReplyMessages.html" name="messages.sendQuickReplyMessages">messages.sendQuickReplyMessages</a>
@ -1708,6 +1718,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#rleEncode" name="rleEncode">null-byte RLE encode: rleEncode</a>
* <a href="payments.botCancelStarsSubscription.html" name="payments.botCancelStarsSubscription">payments.botCancelStarsSubscription</a>
* <a href="payments.changeStarsSubscription.html" name="payments.changeStarsSubscription">payments.changeStarsSubscription</a>
* <a href="payments.convertStarGift.html" name="payments.convertStarGift">payments.convertStarGift</a>

View File

@ -0,0 +1,41 @@
---
title: "messages.getPreparedInlineMessage"
description: "messages.getPreparedInlineMessage 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_getPreparedInlineMessage.html
---
# Method: messages.getPreparedInlineMessage
[Back to methods index](index.html)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|bot|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|id|[string](/API_docs/types/string.html) | Optional|
### Return type: [messages.PreparedInlineMessage](/API_docs/types/messages.PreparedInlineMessage.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();
$messages_PreparedInlineMessage = $MadelineProto->messages->getPreparedInlineMessage(bot: $InputUser, id: 'string', );
```

View File

@ -21,6 +21,7 @@ After calling this method, until the user closes the webview, [messages.prolongW
|----------|---------------|-------------|----------|
|write\_allowed|[Bool](/API_docs/types/Bool.html) | Set this flag if the bot is asking permission to send messages to the user as specified in the [direct Mini App deep link](https://core.telegram.org/api/links#direct-mini-app-links) docs, and the user agreed. | Optional|
|compact|[Bool](/API_docs/types/Bool.html) | | Optional|
|fullscreen|[Bool](/API_docs/types/Bool.html) | | Optional|
|peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | If the client has clicked on the link in a Telegram chat, pass the chat's peer information; otherwise pass the bot's peer information, instead. | Optional|
|app|[InputBotApp](/API_docs/types/InputBotApp.html) | The app obtained by invoking [messages.getBotApp](../methods/messages.getBotApp.html) as specified in the [direct Mini App deep link](https://core.telegram.org/api/links#direct-mini-app-links) docs. | Yes|
|start\_param|[string](/API_docs/types/string.html) | If the `startapp` query string parameter is present in the [direct Mini App deep link](https://core.telegram.org/api/links#direct-mini-app-links), pass it to `start_param`. | Optional|
@ -45,6 +46,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$WebViewResult = $MadelineProto->messages->requestAppWebView(write_allowed: $Bool, compact: $Bool, peer: $InputPeer, app: $InputBotApp, start_param: 'string', theme_params: $DataJSON, platform: 'string', );
$WebViewResult = $MadelineProto->messages->requestAppWebView(write_allowed: $Bool, compact: $Bool, fullscreen: $Bool, peer: $InputPeer, app: $InputBotApp, start_param: 'string', theme_params: $DataJSON, platform: 'string', );
```

View File

@ -16,6 +16,7 @@ redirect_from: /API_docs/methods/messages_requestMainWebView.html
| Name | Type | Required |
|----------|---------------|----------|
|compact|[Bool](/API_docs/types/Bool.html) | Optional|
|fullscreen|[Bool](/API_docs/types/Bool.html) | Optional|
|peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Optional|
|bot|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|start\_param|[string](/API_docs/types/string.html) | Optional|
@ -40,6 +41,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$WebViewResult = $MadelineProto->messages->requestMainWebView(compact: $Bool, peer: $InputPeer, bot: $InputUser, start_param: 'string', theme_params: $DataJSON, platform: 'string', );
$WebViewResult = $MadelineProto->messages->requestMainWebView(compact: $Bool, fullscreen: $Bool, peer: $InputPeer, bot: $InputUser, start_param: 'string', theme_params: $DataJSON, platform: 'string', );
```

View File

@ -20,6 +20,7 @@ Open a [bot mini app](https://core.telegram.org/api/bots/webapps).
|from\_switch\_webview|[Bool](/API_docs/types/Bool.html) | Whether the webapp was opened by clicking on the `switch_webview` button shown on top of the inline results list returned by [messages.getInlineBotResults](../methods/messages.getInlineBotResults.html). | Optional|
|from\_side\_menu|[Bool](/API_docs/types/Bool.html) | Set this flag if opening the Mini App from the installed [side menu entry »](https://core.telegram.org/api/bots/attach) or from a [Mini App link »](https://core.telegram.org/api/links#mini-app-links). | Optional|
|compact|[Bool](/API_docs/types/Bool.html) | | Optional|
|fullscreen|[Bool](/API_docs/types/Bool.html) | | Optional|
|bot|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Bot that owns the mini app | Optional|
|url|[string](/API_docs/types/string.html) | Web app URL, if opening from a keyboard button or inline result | Optional|
|start\_param|[string](/API_docs/types/string.html) | Start parameter, if opening from a [Mini App link »](https://core.telegram.org/api/links#mini-app-links). | Optional|
@ -44,6 +45,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$WebViewResult = $MadelineProto->messages->requestSimpleWebView(from_switch_webview: $Bool, from_side_menu: $Bool, compact: $Bool, bot: $InputUser, url: 'string', start_param: 'string', theme_params: $DataJSON, platform: 'string', );
$WebViewResult = $MadelineProto->messages->requestSimpleWebView(from_switch_webview: $Bool, from_side_menu: $Bool, compact: $Bool, fullscreen: $Bool, bot: $InputUser, url: 'string', start_param: 'string', theme_params: $DataJSON, platform: 'string', );
```

View File

@ -22,6 +22,7 @@ After calling this method, until the user closes the webview, [messages.prolongW
|from\_bot\_menu|[Bool](/API_docs/types/Bool.html) | Whether the webview was opened by clicking on the bot's [menu button »](https://core.telegram.org/api/bots/menu). | Optional|
|silent|[Bool](/API_docs/types/Bool.html) | Whether the inline message that will be sent by the bot on behalf of the user once the web app interaction is [terminated](../methods/messages.sendWebViewResultMessage.html) should be sent silently (no notifications for the receivers). | Optional|
|compact|[Bool](/API_docs/types/Bool.html) | | Optional|
|fullscreen|[Bool](/API_docs/types/Bool.html) | | Optional|
|peer|[Username, chat ID, Update, Message or InputPeer](/API_docs/types/InputPeer.html) | Dialog where the web app is being opened, and where the resulting message will be sent (see the [docs for more info »](https://core.telegram.org/api/bots/webapps)). | Optional|
|bot|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Bot that owns the [web app](https://core.telegram.org/api/bots/webapps) | Optional|
|url|[string](/API_docs/types/string.html) | [Web app URL](https://core.telegram.org/api/bots/webapps) | Optional|
@ -49,6 +50,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();
$WebViewResult = $MadelineProto->messages->requestWebView(from_bot_menu: $Bool, silent: $Bool, compact: $Bool, peer: $InputPeer, bot: $InputUser, url: 'string', start_param: 'string', theme_params: $DataJSON, platform: 'string', reply_to: $InputReplyTo, send_as: $InputPeer, );
$WebViewResult = $MadelineProto->messages->requestWebView(from_bot_menu: $Bool, silent: $Bool, compact: $Bool, fullscreen: $Bool, peer: $InputPeer, bot: $InputUser, url: 'string', start_param: 'string', theme_params: $DataJSON, platform: 'string', reply_to: $InputReplyTo, send_as: $InputPeer, );
```

View File

@ -0,0 +1,42 @@
---
title: "messages.savePreparedInlineMessage"
description: "messages.savePreparedInlineMessage 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_savePreparedInlineMessage.html
---
# Method: messages.savePreparedInlineMessage
[Back to methods index](index.html)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|result|[InputBotInlineResult](/API_docs/types/InputBotInlineResult.html) | Yes|
|user\_id|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|peer\_types|Array of [InlineQueryPeerType](/API_docs/types/InlineQueryPeerType.html) | Optional|
### Return type: [messages.BotPreparedInlineMessage](/API_docs/types/messages.BotPreparedInlineMessage.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();
$messages_BotPreparedInlineMessage = $MadelineProto->messages->savePreparedInlineMessage(result: $InputBotInlineResult, user_id: $InputUser, peer_types: [$InlineQueryPeerType, $InlineQueryPeerType], );
```

View File

@ -0,0 +1,43 @@
---
title: "payments.botCancelStarsSubscription"
description: "payments.botCancelStarsSubscription 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_botCancelStarsSubscription.html
---
# Method: payments.botCancelStarsSubscription
[Back to methods index](index.html)
### Parameters:
| Name | Type | Required |
|----------|---------------|----------|
|restore|[Bool](/API_docs/types/Bool.html) | Optional|
|user\_id|[Username, chat ID, Update, Message or InputUser](/API_docs/types/InputUser.html) | Optional|
|invoice\_slug|[string](/API_docs/types/string.html) | Optional|
|charge\_id|[string](/API_docs/types/string.html) | Optional|
### Return type: [Bool](/API_docs/types/Bool.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();
$Bool = $MadelineProto->payments->botCancelStarsSubscription(restore: $Bool, user_id: $InputUser, invoice_slug: 'string', charge_id: 'string', );
```

View File

@ -0,0 +1,21 @@
---
title: BotAppSettings
description: constructors and methods of type BotAppSettings
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Type: BotAppSettings
[Back to types index](index.html)
### Possible values (constructors):
[botAppSettings](/API_docs/constructors/botAppSettings.html)
### Methods that return an object of this type (methods):

View File

@ -33,6 +33,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[inputPrivacyKeyBirthday](/API_docs/constructors/inputPrivacyKeyBirthday.html)
[inputPrivacyKeyStarGiftsAutoSave](/API_docs/constructors/inputPrivacyKeyStarGiftsAutoSave.html)
### Methods that return an object of this type (methods):

View File

@ -31,6 +31,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[inputPrivacyValueAllowPremium](/API_docs/constructors/inputPrivacyValueAllowPremium.html)
[inputPrivacyValueAllowBots](/API_docs/constructors/inputPrivacyValueAllowBots.html)
[inputPrivacyValueDisallowBots](/API_docs/constructors/inputPrivacyValueDisallowBots.html)
### Methods that return an object of this type (methods):

View File

@ -33,6 +33,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[privacyKeyBirthday](/API_docs/constructors/privacyKeyBirthday.html)
[privacyKeyStarGiftsAutoSave](/API_docs/constructors/privacyKeyStarGiftsAutoSave.html)
### Methods that return an object of this type (methods):

View File

@ -31,6 +31,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[privacyValueAllowPremium](/API_docs/constructors/privacyValueAllowPremium.html)
[privacyValueAllowBots](/API_docs/constructors/privacyValueAllowBots.html)
[privacyValueDisallowBots](/API_docs/constructors/privacyValueDisallowBots.html)
### Methods that return an object of this type (methods):

View File

@ -293,6 +293,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[updatePaidReactionPrivacy](/API_docs/constructors/updatePaidReactionPrivacy.html)
[updateBotSubscriptionExpire](/API_docs/constructors/updateBotSubscriptionExpire.html)
### Methods that return an object of this type (methods):

View File

@ -45,6 +45,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[BotApp](/API_docs/types/BotApp.html)<a name="BotApp"></a>
[BotAppSettings](/API_docs/types/BotAppSettings.html)<a name="BotAppSettings"></a>
[BotBusinessConnection](/API_docs/types/BotBusinessConnection.html)<a name="BotBusinessConnection"></a>
[BotCommand](/API_docs/types/BotCommand.html)<a name="BotCommand"></a>
@ -853,6 +855,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[messages.BotCallbackAnswer](/API_docs/types/messages.BotCallbackAnswer.html)<a name="messages.BotCallbackAnswer"></a>
[messages.BotPreparedInlineMessage](/API_docs/types/messages.BotPreparedInlineMessage.html)<a name="messages.BotPreparedInlineMessage"></a>
[messages.BotResults](/API_docs/types/messages.BotResults.html)<a name="messages.BotResults"></a>
[messages.ChatAdminsWithInvites](/API_docs/types/messages.ChatAdminsWithInvites.html)<a name="messages.ChatAdminsWithInvites"></a>
@ -911,6 +915,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
[messages.PeerSettings](/API_docs/types/messages.PeerSettings.html)<a name="messages.PeerSettings"></a>
[messages.PreparedInlineMessage](/API_docs/types/messages.PreparedInlineMessage.html)<a name="messages.PreparedInlineMessage"></a>
[messages.QuickReplies](/API_docs/types/messages.QuickReplies.html)<a name="messages.QuickReplies"></a>
[messages.Reactions](/API_docs/types/messages.Reactions.html)<a name="messages.Reactions"></a>

View File

@ -0,0 +1,24 @@
---
title: messages.BotPreparedInlineMessage
description: constructors and methods of type messages.BotPreparedInlineMessage
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/types/messages_BotPreparedInlineMessage.html
---
# Type: messages.BotPreparedInlineMessage
[Back to types index](index.html)
### Possible values (constructors):
[messages.botPreparedInlineMessage](/API_docs/constructors/messages.botPreparedInlineMessage.html)
### Methods that return an object of this type (methods):
[$MadelineProto->messages->savePreparedInlineMessage](/API_docs/methods/messages.savePreparedInlineMessage.html)

View File

@ -0,0 +1,24 @@
---
title: messages.PreparedInlineMessage
description: constructors and methods of type messages.PreparedInlineMessage
nav_exclude: true
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
redirect_from: /API_docs/types/messages_PreparedInlineMessage.html
---
# Type: messages.PreparedInlineMessage
[Back to types index](index.html)
### Possible values (constructors):
[messages.preparedInlineMessage](/API_docs/constructors/messages.preparedInlineMessage.html)
### Methods that return an object of this type (methods):
[$MadelineProto->messages->getPreparedInlineMessage](/API_docs/methods/messages.getPreparedInlineMessage.html)

View File

@ -21,17 +21,17 @@ Represents a query sent by the user by clicking on a button.
* `$chatInstance`: `int` Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -25,17 +25,17 @@ Regex matches, if a filter multiple match regex is present
* `$chatInstance`: `int` Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -27,7 +27,7 @@ Regex matches, if a filter multiple match regex is present
* `$messageId`: `int` Message ID
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`editText(string $message, (array|null) $replyMarkup = NULL, ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, bool $noWebpage = false, (int|null) $scheduleDate = NULL): \danog\MadelineProto\EventHandler\Message`](#editText)
* [`editReplyMarkup(array $replyMarkup): \danog\MadelineProto\EventHandler\Message`](#editReplyMarkup)
* [`delete(boolean $revoke = true): void`](#delete)
@ -36,14 +36,14 @@ Regex matches, if a filter multiple match regex is present
* [`report(ReportReason $reason, string $message): bool`](#report)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -24,7 +24,7 @@ Represents a query sent by the user by clicking on a "Play game" button in a cha
* `$messageId`: `int` Message ID
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`editText(string $message, (array|null) $replyMarkup = NULL, ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, bool $noWebpage = false, (int|null) $scheduleDate = NULL): \danog\MadelineProto\EventHandler\Message`](#editText)
* [`editReplyMarkup(array $replyMarkup): \danog\MadelineProto\EventHandler\Message`](#editReplyMarkup)
* [`delete(boolean $revoke = true): void`](#delete)
@ -33,14 +33,14 @@ Represents a query sent by the user by clicking on a "Play game" button in a cha
* [`report(ReportReason $reason, string $message): bool`](#report)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -22,17 +22,17 @@ Represents a query sent by the user by clicking on a "Play game" button.
* `$chatInstance`: `int` Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -26,19 +26,19 @@ Regex matches, if a filter multiple match regex is present
* `$inlineMessageId`: `string` Inline message ID
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`editText(string $message, (array|null) $replyMarkup = NULL, ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, bool $noWebpage = false): void`](#editText)
* [`editReplyMarkup(array $replyMarkup): void`](#editReplyMarkup)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -23,19 +23,19 @@ Represents a query sent by the user by clicking on a "Play game" button in an in
* `$inlineMessageId`: `string` Inline message ID
## Method list:
* [`answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`](#answer)
* [`editText(string $message, (array|null) $replyMarkup = NULL, ParseMode $parseMode = \danog\MadelineProto\ParseMode::TEXT, bool $noWebpage = false): void`](#editText)
* [`editReplyMarkup(array $replyMarkup): void`](#editReplyMarkup)
## Methods:
### <a name="answer"></a> `answer(string $message, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
### <a name="answer"></a> `answer(?string $message = NULL, bool $alert = false, (string|null) $url = NULL, int $cacheTime = 300): bool`
Parameters:
* `$message`: `string` Popup to show
* `$message`: `?string` Popup to show
* `$alert`: `bool` Whether to show the message as a popup instead of a toast notification
* `$url`: `(string|null)` URL to open
* `$cacheTime`: `int` Cache validity (default set to 5 min based on telegram official docs ...)

View File

@ -945,6 +945,7 @@ Here's a full list of all MTProto filters (click on each filter name to view the
* [onUpdateStarsRevenueStatus &raquo;](https://docs.madelineproto.xyz/API_docs/constructors/updateStarsRevenueStatus.html) -
* [onUpdateBotPurchasedPaidMedia &raquo;](https://docs.madelineproto.xyz/API_docs/constructors/updateBotPurchasedPaidMedia.html) -
* [onUpdatePaidReactionPrivacy &raquo;](https://docs.madelineproto.xyz/API_docs/constructors/updatePaidReactionPrivacy.html) -
* [onUpdateBotSubscriptionExpire &raquo;](https://docs.madelineproto.xyz/API_docs/constructors/updateBotSubscriptionExpire.html) -
<!-- cut_here_end mtprotofilters -->

View File

@ -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 192)](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 193)](https://docs.madelineproto.xyz/API_docs/).
[Now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)

View File

@ -1119,12 +1119,15 @@ Some of MadelineProto's core components are also available as separate, standalo
* <a href="https://docs.madelineproto.xyz/API_docs/methods/auth.reportMissingCode.html" name="auth.reportMissingCode">auth.reportMissingCode</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#base64urlDecode" name="base64urlDecode">base64URL decode: base64urlDecode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.addPreviewMedia.html" name="bots.addPreviewMedia">bots.addPreviewMedia</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.checkDownloadFileParams.html" name="bots.checkDownloadFileParams">bots.checkDownloadFileParams</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.deletePreviewMedia.html" name="bots.deletePreviewMedia">bots.deletePreviewMedia</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.editPreviewMedia.html" name="bots.editPreviewMedia">bots.editPreviewMedia</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.getPopularAppBots.html" name="bots.getPopularAppBots">bots.getPopularAppBots</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.getPreviewInfo.html" name="bots.getPreviewInfo">bots.getPreviewInfo</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.getPreviewMedias.html" name="bots.getPreviewMedias">bots.getPreviewMedias</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.reorderPreviewMedias.html" name="bots.reorderPreviewMedias">bots.reorderPreviewMedias</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.toggleUserEmojiStatusPermission.html" name="bots.toggleUserEmojiStatusPermission">bots.toggleUserEmojiStatusPermission</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/bots.updateUserEmojiStatus.html" name="bots.updateUserEmojiStatus">bots.updateUserEmojiStatus</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.restrictSponsoredMessages.html" name="channels.restrictSponsoredMessages">channels.restrictSponsoredMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.searchPosts.html" name="channels.searchPosts">channels.searchPosts</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/channels.setBoostsToUnblockRestrictions.html" name="channels.setBoostsToUnblockRestrictions">channels.setBoostsToUnblockRestrictions</a>
@ -1149,6 +1152,7 @@ Some of MadelineProto's core components are also available as separate, standalo
* <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.getPreparedInlineMessage.html" name="messages.getPreparedInlineMessage">messages.getPreparedInlineMessage</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>
@ -1156,6 +1160,7 @@ Some of MadelineProto's core components are also available as separate, standalo
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reorderQuickReplies.html" name="messages.reorderQuickReplies">messages.reorderQuickReplies</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.reportSponsoredMessage.html" name="messages.reportSponsoredMessage">messages.reportSponsoredMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.requestMainWebView.html" name="messages.requestMainWebView">messages.requestMainWebView</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.savePreparedInlineMessage.html" name="messages.savePreparedInlineMessage">messages.savePreparedInlineMessage</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendPaidReaction.html" name="messages.sendPaidReaction">messages.sendPaidReaction</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.sendQuickReplyMessages.html" name="messages.sendQuickReplyMessages">messages.sendQuickReplyMessages</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.toggleDialogFilterTags.html" name="messages.toggleDialogFilterTags">messages.toggleDialogFilterTags</a>
@ -1164,6 +1169,7 @@ Some of MadelineProto's core components are also available as separate, standalo
* <a href="https://docs.madelineproto.xyz/API_docs/methods/messages.viewSponsoredMessage.html" name="messages.viewSponsoredMessage">messages.viewSponsoredMessage</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#rleDecode" name="rleDecode">null-byte RLE decode: rleDecode</a>
* <a href="https://docs.madelineproto.xyz/PHP/danog/MadelineProto/API.html#rleEncode" name="rleEncode">null-byte RLE encode: rleEncode</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.botCancelStarsSubscription.html" name="payments.botCancelStarsSubscription">payments.botCancelStarsSubscription</a>
* <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.convertStarGift.html" name="payments.convertStarGift">payments.convertStarGift</a>
* <a href="https://docs.madelineproto.xyz/API_docs/methods/payments.fulfillStarsSubscription.html" name="payments.fulfillStarsSubscription">payments.fulfillStarsSubscription</a>