Update to layer 72
This commit is contained in:
parent
9e5e3680e3
commit
7c205811ff
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
*.raw
|
||||||
SocksProxy.php
|
SocksProxy.php
|
||||||
magnabroadcast.php
|
magnabroadcast.php
|
||||||
broadcast.php
|
broadcast.php
|
||||||
|
@ -40,9 +40,9 @@ $docs = [
|
|||||||
'readme' => false,
|
'readme' => false,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v71.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
|
'tl_schema' => ['telegram' => __DIR__.'/src/danog/MadelineProto/TL_telegram_v72.tl', 'calls' => __DIR__.'/src/danog/MadelineProto/TL_calls.tl', 'secret' => __DIR__.'/src/danog/MadelineProto/TL_secret.tl', 'td' => __DIR__.'/src/danog/MadelineProto/TL_td.tl'],
|
||||||
'title' => 'MadelineProto API documentation (layer 71)',
|
'title' => 'MadelineProto API documentation (layer 72)',
|
||||||
'description' => 'MadelineProto API documentation (layer 71)',
|
'description' => 'MadelineProto API documentation (layer 72)',
|
||||||
'output_dir' => __DIR__.'/docs/API_docs',
|
'output_dir' => __DIR__.'/docs/API_docs',
|
||||||
'readme' => false,
|
'readme' => false,
|
||||||
],
|
],
|
||||||
|
@ -12,6 +12,7 @@ description: botInlineMessageMediaGeo attributes, type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|
||||||
|
|period|[int](../types/int.md) | Yes|
|
||||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
@ -22,13 +23,13 @@ description: botInlineMessageMediaGeo attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'reply_markup' => ReplyMarkup];
|
$botInlineMessageMediaGeo = ['_' => 'botInlineMessageMediaGeo', 'geo' => GeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "reply_markup": ReplyMarkup}
|
{"_": "botInlineMessageMediaGeo", "geo": GeoPoint, "period": int, "reply_markup": ReplyMarkup}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -36,7 +37,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, reply_markup=ReplyMarkup}
|
botInlineMessageMediaGeo={_='botInlineMessageMediaGeo', geo=GeoPoint, period=int, reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
title: channelAdminLogEventActionTogglePreHistoryHidden
|
||||||
|
description: channelAdminLogEventActionTogglePreHistoryHidden attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channelAdminLogEventActionTogglePreHistoryHidden
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|new\_value|[Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channelAdminLogEventActionTogglePreHistoryHidden = ['_' => 'channelAdminLogEventActionTogglePreHistoryHidden', 'new_value' => Bool];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "channelAdminLogEventActionTogglePreHistoryHidden", "new_value": Bool}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channelAdminLogEventActionTogglePreHistoryHidden={_='channelAdminLogEventActionTogglePreHistoryHidden', new_value=Bool}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -14,6 +14,7 @@ description: channelFull attributes, type and example
|
|||||||
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|
|can\_view\_participants|[Bool](../types/Bool.md) | Optional|
|
||||||
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|
|can\_set\_username|[Bool](../types/Bool.md) | Optional|
|
||||||
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|
|
|can\_set\_stickers|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|hidden\_prehistory|[Bool](../types/Bool.md) | Optional|
|
||||||
|id|[int](../types/int.md) | Yes|
|
|id|[int](../types/int.md) | Yes|
|
||||||
|about|[string](../types/string.md) | Yes|
|
|about|[string](../types/string.md) | Yes|
|
||||||
|participants\_count|[int](../types/int.md) | Optional|
|
|participants\_count|[int](../types/int.md) | Optional|
|
||||||
@ -31,6 +32,7 @@ description: channelFull attributes, type and example
|
|||||||
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|
|migrated\_from\_max\_id|[int](../types/int.md) | Optional|
|
||||||
|pinned\_msg\_id|[int](../types/int.md) | Optional|
|
|pinned\_msg\_id|[int](../types/int.md) | Optional|
|
||||||
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|
|
|stickerset|[StickerSet](../types/StickerSet.md) | Optional|
|
||||||
|
|available\_min\_id|[int](../types/int.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -40,13 +42,13 @@ description: channelFull attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_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], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet];
|
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'id' => int, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_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], 'migrated_from_chat_id' => int, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "id": int, "about": "string", "participants_count": int, "admins_count": int, "kicked_count": int, "banned_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], "migrated_from_chat_id": int, "migrated_from_max_id": int, "pinned_msg_id": int, "stickerset": StickerSet}
|
{"_": "channelFull", "can_view_participants": Bool, "can_set_username": Bool, "can_set_stickers": Bool, "hidden_prehistory": Bool, "id": int, "about": "string", "participants_count": int, "admins_count": int, "kicked_count": int, "banned_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], "migrated_from_chat_id": int, "migrated_from_max_id": int, "pinned_msg_id": int, "stickerset": StickerSet, "available_min_id": int}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -54,7 +56,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_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}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet}
|
channelFull={_='channelFull', can_view_participants=Bool, can_set_username=Bool, can_set_stickers=Bool, hidden_prehistory=Bool, id=int, about='string', participants_count=int, admins_count=int, kicked_count=int, banned_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}, migrated_from_chat_id=int, migrated_from_max_id=int, pinned_msg_id=int, stickerset=StickerSet, available_min_id=int}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: channels.channelParticipantsNotModified
|
||||||
|
description: channels_channelParticipantsNotModified attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: channels.channelParticipantsNotModified
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$channels_channelParticipantsNotModified = ['_' => 'channels.channelParticipantsNotModified'];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "channels.channelParticipantsNotModified"}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
channels_channelParticipantsNotModified={_='channels.channelParticipantsNotModified'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -11,6 +11,7 @@ description: config attributes, type and example
|
|||||||
|
|
||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|
|
||||||
|date|[int](../types/int.md) | Yes|
|
|date|[int](../types/int.md) | Yes|
|
||||||
|expires|[int](../types/int.md) | Yes|
|
|expires|[int](../types/int.md) | Yes|
|
||||||
|test\_mode|[Bool](../types/Bool.md) | Yes|
|
|test\_mode|[Bool](../types/Bool.md) | Yes|
|
||||||
@ -33,9 +34,9 @@ description: config attributes, type and example
|
|||||||
|rating\_e\_decay|[int](../types/int.md) | Yes|
|
|rating\_e\_decay|[int](../types/int.md) | Yes|
|
||||||
|stickers\_recent\_limit|[int](../types/int.md) | Yes|
|
|stickers\_recent\_limit|[int](../types/int.md) | Yes|
|
||||||
|stickers\_faved\_limit|[int](../types/int.md) | Yes|
|
|stickers\_faved\_limit|[int](../types/int.md) | Yes|
|
||||||
|
|channels\_read\_media\_period|[int](../types/int.md) | Yes|
|
||||||
|tmp\_sessions|[int](../types/int.md) | Optional|
|
|tmp\_sessions|[int](../types/int.md) | Optional|
|
||||||
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|
|
|pinned\_dialogs\_count\_max|[int](../types/int.md) | Yes|
|
||||||
|phonecalls\_enabled|[Bool](../types/Bool.md) | Optional|
|
|
||||||
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|
|
|call\_receive\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|
|
|call\_ring\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|
|
|call\_connect\_timeout\_ms|[int](../types/int.md) | Yes|
|
||||||
@ -53,13 +54,13 @@ description: config attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$config = ['_' => 'config', 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'phonecalls_enabled' => Bool, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature]];
|
$config = ['_' => 'config', 'phonecalls_enabled' => Bool, 'date' => int, 'expires' => int, 'test_mode' => Bool, 'this_dc' => int, 'dc_options' => [DcOption], 'chat_size_max' => int, 'megagroup_size_max' => int, 'forwarded_count_max' => int, 'online_update_period_ms' => int, 'offline_blur_timeout_ms' => int, 'offline_idle_timeout_ms' => int, 'online_cloud_timeout_ms' => int, 'notify_cloud_delay_ms' => int, 'notify_default_delay_ms' => int, 'chat_big_size' => int, 'push_chat_period_ms' => int, 'push_chat_limit' => int, 'saved_gifs_limit' => int, 'edit_time_limit' => int, 'rating_e_decay' => int, 'stickers_recent_limit' => int, 'stickers_faved_limit' => int, 'channels_read_media_period' => int, 'tmp_sessions' => int, 'pinned_dialogs_count_max' => int, 'call_receive_timeout_ms' => int, 'call_ring_timeout_ms' => int, 'call_connect_timeout_ms' => int, 'call_packet_timeout_ms' => int, 'me_url_prefix' => 'string', 'suggested_lang_code' => 'string', 'lang_pack_version' => int, 'disabled_features' => [DisabledFeature]];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "config", "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "chat_size_max": int, "megagroup_size_max": int, "forwarded_count_max": int, "online_update_period_ms": int, "offline_blur_timeout_ms": int, "offline_idle_timeout_ms": int, "online_cloud_timeout_ms": int, "notify_cloud_delay_ms": int, "notify_default_delay_ms": int, "chat_big_size": int, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "stickers_faved_limit": int, "tmp_sessions": int, "pinned_dialogs_count_max": int, "phonecalls_enabled": Bool, "call_receive_timeout_ms": int, "call_ring_timeout_ms": int, "call_connect_timeout_ms": int, "call_packet_timeout_ms": int, "me_url_prefix": "string", "suggested_lang_code": "string", "lang_pack_version": int, "disabled_features": [DisabledFeature]}
|
{"_": "config", "phonecalls_enabled": Bool, "date": int, "expires": int, "test_mode": Bool, "this_dc": int, "dc_options": [DcOption], "chat_size_max": int, "megagroup_size_max": int, "forwarded_count_max": int, "online_update_period_ms": int, "offline_blur_timeout_ms": int, "offline_idle_timeout_ms": int, "online_cloud_timeout_ms": int, "notify_cloud_delay_ms": int, "notify_default_delay_ms": int, "chat_big_size": int, "push_chat_period_ms": int, "push_chat_limit": int, "saved_gifs_limit": int, "edit_time_limit": int, "rating_e_decay": int, "stickers_recent_limit": int, "stickers_faved_limit": int, "channels_read_media_period": int, "tmp_sessions": int, "pinned_dialogs_count_max": int, "call_receive_timeout_ms": int, "call_ring_timeout_ms": int, "call_connect_timeout_ms": int, "call_packet_timeout_ms": int, "me_url_prefix": "string", "suggested_lang_code": "string", "lang_pack_version": int, "disabled_features": [DisabledFeature]}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -67,7 +68,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
config={_='config', date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, tmp_sessions=int, pinned_dialogs_count_max=int, phonecalls_enabled=Bool, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}}
|
config={_='config', phonecalls_enabled=Bool, date=int, expires=int, test_mode=Bool, this_dc=int, dc_options={DcOption}, chat_size_max=int, megagroup_size_max=int, forwarded_count_max=int, online_update_period_ms=int, offline_blur_timeout_ms=int, offline_idle_timeout_ms=int, online_cloud_timeout_ms=int, notify_cloud_delay_ms=int, notify_default_delay_ms=int, chat_big_size=int, push_chat_period_ms=int, push_chat_limit=int, saved_gifs_limit=int, edit_time_limit=int, rating_e_decay=int, stickers_recent_limit=int, stickers_faved_limit=int, channels_read_media_period=int, tmp_sessions=int, pinned_dialogs_count_max=int, call_receive_timeout_ms=int, call_ring_timeout_ms=int, call_connect_timeout_ms=int, call_packet_timeout_ms=int, me_url_prefix='string', suggested_lang_code='string', lang_pack_version=int, disabled_features={DisabledFeature}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
44
docs/API_docs/constructors/help_recentMeUrls.md
Normal file
44
docs/API_docs/constructors/help_recentMeUrls.md
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: help.recentMeUrls
|
||||||
|
description: help_recentMeUrls attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: help.recentMeUrls
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|urls|Array of [RecentMeUrl](../types/RecentMeUrl.md) | Yes|
|
||||||
|
|chats|Array of [Chat](../types/Chat.md) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$help_recentMeUrls = ['_' => 'help.recentMeUrls', 'urls' => [RecentMeUrl], 'chats' => [Chat], 'users' => [User]];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "help.recentMeUrls", "urls": [RecentMeUrl], "chats": [Chat], "users": [User]}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
help_recentMeUrls={_='help.recentMeUrls', urls={RecentMeUrl}, chats={Chat}, users={User}}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -77,7 +77,7 @@ description: List of constructors
|
|||||||
<br><br>[$botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaContact"></a>
|
<br><br>[$botInlineMessageMediaContact](../constructors/botInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaContact"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaGeo"></a>
|
<br><br>[$botInlineMessageMediaGeo](../constructors/botInlineMessageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'period' => [int](../types/int.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaGeo"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaVenue"></a>
|
<br><br>[$botInlineMessageMediaVenue](../constructors/botInlineMessageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="botInlineMessageMediaVenue"></a>
|
||||||
@ -142,6 +142,9 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$channelAdminLogEventActionToggleInvites](../constructors/channelAdminLogEventActionToggleInvites.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionToggleInvites"></a>
|
<br><br>[$channelAdminLogEventActionToggleInvites](../constructors/channelAdminLogEventActionToggleInvites.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionToggleInvites"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$channelAdminLogEventActionTogglePreHistoryHidden](../constructors/channelAdminLogEventActionTogglePreHistoryHidden.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionTogglePreHistoryHidden"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelAdminLogEventActionToggleSignatures](../constructors/channelAdminLogEventActionToggleSignatures.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionToggleSignatures"></a>
|
<br><br>[$channelAdminLogEventActionToggleSignatures](../constructors/channelAdminLogEventActionToggleSignatures.md) = \['new_value' => [Bool](../types/Bool.md), \];<a name="channelAdminLogEventActionToggleSignatures"></a>
|
||||||
|
|
||||||
@ -161,7 +164,7 @@ description: List of constructors
|
|||||||
<br><br>[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'until_date' => [int](../types/int.md), \];<a name="channelForbidden"></a>
|
<br><br>[$channelForbidden](../constructors/channelForbidden.md) = \['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'access_hash' => [long](../types/long.md), 'title' => [string](../types/string.md), 'until_date' => [int](../types/int.md), \];<a name="channelForbidden"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_stickers' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), 'stickerset' => [StickerSet](../types/StickerSet.md), \];<a name="channelFull"></a>
|
<br><br>[$channelFull](../constructors/channelFull.md) = \['can_view_participants' => [Bool](../types/Bool.md), 'can_set_username' => [Bool](../types/Bool.md), 'can_set_stickers' => [Bool](../types/Bool.md), 'hidden_prehistory' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'about' => [string](../types/string.md), 'participants_count' => [int](../types/int.md), 'admins_count' => [int](../types/int.md), 'kicked_count' => [int](../types/int.md), 'banned_count' => [int](../types/int.md), 'read_inbox_max_id' => [int](../types/int.md), 'read_outbox_max_id' => [int](../types/int.md), 'unread_count' => [int](../types/int.md), 'chat_photo' => [Photo](../types/Photo.md), 'notify_settings' => [PeerNotifySettings](../types/PeerNotifySettings.md), 'exported_invite' => [ExportedChatInvite](../types/ExportedChatInvite.md), 'bot_info' => \[[BotInfo](../types/BotInfo.md)\], 'migrated_from_chat_id' => [int](../types/int.md), 'migrated_from_max_id' => [int](../types/int.md), 'pinned_msg_id' => [int](../types/int.md), 'stickerset' => [StickerSet](../types/StickerSet.md), 'available_min_id' => [int](../types/int.md), \];<a name="channelFull"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \];<a name="channelMessagesFilter"></a>
|
<br><br>[$channelMessagesFilter](../constructors/channelMessagesFilter.md) = \['exclude_new_messages' => [Bool](../types/Bool.md), 'ranges' => \[[MessageRange](../types/MessageRange.md)\], \];<a name="channelMessagesFilter"></a>
|
||||||
@ -209,6 +212,8 @@ description: List of constructors
|
|||||||
|
|
||||||
[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="channels_channelParticipants"></a>
|
[$channels\_channelParticipants](../constructors/channels_channelParticipants.md) = \['count' => [int](../types/int.md), 'participants' => \[[ChannelParticipant](../types/ChannelParticipant.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="channels_channelParticipants"></a>
|
||||||
|
|
||||||
|
[$channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md) = \[\];<a name="channels_channelParticipantsNotModified"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \];<a name="chat"></a>
|
<br><br>[$chat](../constructors/chat.md) = \['creator' => [Bool](../types/Bool.md), 'kicked' => [Bool](../types/Bool.md), 'left' => [Bool](../types/Bool.md), 'admins_enabled' => [Bool](../types/Bool.md), 'admin' => [Bool](../types/Bool.md), 'deactivated' => [Bool](../types/Bool.md), 'id' => [int](../types/int.md), 'title' => [string](../types/string.md), 'photo' => [ChatPhoto](../types/ChatPhoto.md), 'participants_count' => [int](../types/int.md), 'date' => [int](../types/int.md), 'version' => [int](../types/int.md), 'migrated_to' => [InputChannel](../types/InputChannel.md), \];<a name="chat"></a>
|
||||||
|
|
||||||
@ -258,7 +263,7 @@ description: List of constructors
|
|||||||
<br><br>[$client\_DH\_inner\_data](../constructors/client_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'retry_id' => [long](../types/long.md), 'g_b' => [string](../types/string.md), \];<a name="client_DH_inner_data"></a>
|
<br><br>[$client\_DH\_inner\_data](../constructors/client_DH_inner_data.md) = \['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'retry_id' => [long](../types/long.md), 'g_b' => [string](../types/string.md), \];<a name="client_DH_inner_data"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$config](../constructors/config.md) = \['date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'stickers_faved_limit' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'phonecalls_enabled' => [Bool](../types/Bool.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
|
<br><br>[$config](../constructors/config.md) = \['phonecalls_enabled' => [Bool](../types/Bool.md), 'date' => [int](../types/int.md), 'expires' => [int](../types/int.md), 'test_mode' => [Bool](../types/Bool.md), 'this_dc' => [int](../types/int.md), 'dc_options' => \[[DcOption](../types/DcOption.md)\], 'chat_size_max' => [int](../types/int.md), 'megagroup_size_max' => [int](../types/int.md), 'forwarded_count_max' => [int](../types/int.md), 'online_update_period_ms' => [int](../types/int.md), 'offline_blur_timeout_ms' => [int](../types/int.md), 'offline_idle_timeout_ms' => [int](../types/int.md), 'online_cloud_timeout_ms' => [int](../types/int.md), 'notify_cloud_delay_ms' => [int](../types/int.md), 'notify_default_delay_ms' => [int](../types/int.md), 'chat_big_size' => [int](../types/int.md), 'push_chat_period_ms' => [int](../types/int.md), 'push_chat_limit' => [int](../types/int.md), 'saved_gifs_limit' => [int](../types/int.md), 'edit_time_limit' => [int](../types/int.md), 'rating_e_decay' => [int](../types/int.md), 'stickers_recent_limit' => [int](../types/int.md), 'stickers_faved_limit' => [int](../types/int.md), 'channels_read_media_period' => [int](../types/int.md), 'tmp_sessions' => [int](../types/int.md), 'pinned_dialogs_count_max' => [int](../types/int.md), 'call_receive_timeout_ms' => [int](../types/int.md), 'call_ring_timeout_ms' => [int](../types/int.md), 'call_connect_timeout_ms' => [int](../types/int.md), 'call_packet_timeout_ms' => [int](../types/int.md), 'me_url_prefix' => [string](../types/string.md), 'suggested_lang_code' => [string](../types/string.md), 'lang_pack_version' => [int](../types/int.md), 'disabled_features' => \[[DisabledFeature](../types/DisabledFeature.md)\], \];<a name="config"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \];<a name="contact"></a>
|
<br><br>[$contact](../constructors/contact.md) = \['user_id' => [int](../types/int.md), 'mutual' => [Bool](../types/Bool.md), \];<a name="contact"></a>
|
||||||
@ -514,6 +519,8 @@ description: List of constructors
|
|||||||
|
|
||||||
[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\];<a name="help_noAppUpdate"></a>
|
[$help\_noAppUpdate](../constructors/help_noAppUpdate.md) = \[\];<a name="help_noAppUpdate"></a>
|
||||||
|
|
||||||
|
[$help\_recentMeUrls](../constructors/help_recentMeUrls.md) = \['urls' => \[[RecentMeUrl](../types/RecentMeUrl.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="help_recentMeUrls"></a>
|
||||||
|
|
||||||
[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \];<a name="help_support"></a>
|
[$help\_support](../constructors/help_support.md) = \['phone_number' => [string](../types/string.md), 'user' => [User](../types/User.md), \];<a name="help_support"></a>
|
||||||
|
|
||||||
[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \];<a name="help_termsOfService"></a>
|
[$help\_termsOfService](../constructors/help_termsOfService.md) = \['text' => [string](../types/string.md), \];<a name="help_termsOfService"></a>
|
||||||
@ -546,7 +553,7 @@ description: List of constructors
|
|||||||
<br><br>[$inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaContact"></a>
|
<br><br>[$inputBotInlineMessageMediaContact](../constructors/inputBotInlineMessageMediaContact.md) = \['phone_number' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaContact"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaGeo"></a>
|
<br><br>[$inputBotInlineMessageMediaGeo](../constructors/inputBotInlineMessageMediaGeo.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'period' => [int](../types/int.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaGeo"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaVenue"></a>
|
<br><br>[$inputBotInlineMessageMediaVenue](../constructors/inputBotInlineMessageMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \];<a name="inputBotInlineMessageMediaVenue"></a>
|
||||||
@ -644,6 +651,9 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$inputMediaGame](../constructors/inputMediaGame.md) = \['id' => [InputGame](../types/InputGame.md), \];<a name="inputMediaGame"></a>
|
<br><br>[$inputMediaGame](../constructors/inputMediaGame.md) = \['id' => [InputGame](../types/InputGame.md), \];<a name="inputMediaGame"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputMediaGeoLive](../constructors/inputMediaGeoLive.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'period' => [int](../types/int.md), \];<a name="inputMediaGeoLive"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \];<a name="inputMediaGeoPoint"></a>
|
<br><br>[$inputMediaGeoPoint](../constructors/inputMediaGeoPoint.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \];<a name="inputMediaGeoPoint"></a>
|
||||||
|
|
||||||
@ -666,7 +676,7 @@ description: List of constructors
|
|||||||
<br><br>[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'stickers' => \[[InputDocument](../types/InputDocument.md)\], 'ttl_seconds' => [int](../types/int.md), \];<a name="inputMediaUploadedPhoto"></a>
|
<br><br>[$inputMediaUploadedPhoto](../constructors/inputMediaUploadedPhoto.md) = \['file' => [InputFile](../types/InputFile.md), 'caption' => [string](../types/string.md), 'stickers' => \[[InputDocument](../types/InputDocument.md)\], 'ttl_seconds' => [int](../types/int.md), \];<a name="inputMediaUploadedPhoto"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \];<a name="inputMediaVenue"></a>
|
<br><br>[$inputMediaVenue](../constructors/inputMediaVenue.md) = \['geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'venue_type' => [string](../types/string.md), \];<a name="inputMediaVenue"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMessageEntityMentionName](../constructors/inputMessageEntityMentionName.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \];<a name="inputMessageEntityMentionName"></a>
|
<br><br>[$inputMessageEntityMentionName](../constructors/inputMessageEntityMentionName.md) = \['offset' => [int](../types/int.md), 'length' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \];<a name="inputMessageEntityMentionName"></a>
|
||||||
@ -674,12 +684,18 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$inputMessagesFilterChatPhotos](../constructors/inputMessagesFilterChatPhotos.md) = \[\];<a name="inputMessagesFilterChatPhotos"></a>
|
<br><br>[$inputMessagesFilterChatPhotos](../constructors/inputMessagesFilterChatPhotos.md) = \[\];<a name="inputMessagesFilterChatPhotos"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputMessagesFilterContacts](../constructors/inputMessagesFilterContacts.md) = \[\];<a name="inputMessagesFilterContacts"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\];<a name="inputMessagesFilterDocument"></a>
|
<br><br>[$inputMessagesFilterDocument](../constructors/inputMessagesFilterDocument.md) = \[\];<a name="inputMessagesFilterDocument"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\];<a name="inputMessagesFilterEmpty"></a>
|
<br><br>[$inputMessagesFilterEmpty](../constructors/inputMessagesFilterEmpty.md) = \[\];<a name="inputMessagesFilterEmpty"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$inputMessagesFilterGeo](../constructors/inputMessagesFilterGeo.md) = \[\];<a name="inputMessagesFilterGeo"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) = \[\];<a name="inputMessagesFilterGif"></a>
|
<br><br>[$inputMessagesFilterGif](../constructors/inputMessagesFilterGif.md) = \[\];<a name="inputMessagesFilterGif"></a>
|
||||||
|
|
||||||
@ -689,9 +705,6 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$inputMessagesFilterMyMentions](../constructors/inputMessagesFilterMyMentions.md) = \[\];<a name="inputMessagesFilterMyMentions"></a>
|
<br><br>[$inputMessagesFilterMyMentions](../constructors/inputMessagesFilterMyMentions.md) = \[\];<a name="inputMessagesFilterMyMentions"></a>
|
||||||
|
|
||||||
***
|
|
||||||
<br><br>[$inputMessagesFilterMyMentionsUnread](../constructors/inputMessagesFilterMyMentionsUnread.md) = \[\];<a name="inputMessagesFilterMyMentionsUnread"></a>
|
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$inputMessagesFilterPhoneCalls](../constructors/inputMessagesFilterPhoneCalls.md) = \['missed' => [Bool](../types/Bool.md), \];<a name="inputMessagesFilterPhoneCalls"></a>
|
<br><br>[$inputMessagesFilterPhoneCalls](../constructors/inputMessagesFilterPhoneCalls.md) = \['missed' => [Bool](../types/Bool.md), \];<a name="inputMessagesFilterPhoneCalls"></a>
|
||||||
|
|
||||||
@ -932,6 +945,9 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \];<a name="messageActionChatMigrateTo"></a>
|
<br><br>[$messageActionChatMigrateTo](../constructors/messageActionChatMigrateTo.md) = \['channel_id' => [int](../types/int.md), \];<a name="messageActionChatMigrateTo"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$messageActionCustomAction](../constructors/messageActionCustomAction.md) = \['message' => [string](../types/string.md), \];<a name="messageActionCustomAction"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\];<a name="messageActionEmpty"></a>
|
<br><br>[$messageActionEmpty](../constructors/messageActionEmpty.md) = \[\];<a name="messageActionEmpty"></a>
|
||||||
|
|
||||||
@ -1013,6 +1029,9 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \];<a name="messageMediaGeo"></a>
|
<br><br>[$messageMediaGeo](../constructors/messageMediaGeo.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), \];<a name="messageMediaGeo"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$messageMediaGeoLive](../constructors/messageMediaGeoLive.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'period' => [int](../types/int.md), \];<a name="messageMediaGeoLive"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageMediaInvoice](../constructors/messageMediaInvoice.md) = \['shipping_address_requested' => [Bool](../types/Bool.md), 'test' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [WebDocument](../types/WebDocument.md), 'receipt_msg_id' => [int](../types/int.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'start_param' => [string](../types/string.md), \];<a name="messageMediaInvoice"></a>
|
<br><br>[$messageMediaInvoice](../constructors/messageMediaInvoice.md) = \['shipping_address_requested' => [Bool](../types/Bool.md), 'test' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'description' => [string](../types/string.md), 'photo' => [WebDocument](../types/WebDocument.md), 'receipt_msg_id' => [int](../types/int.md), 'currency' => [string](../types/string.md), 'total_amount' => [long](../types/long.md), 'start_param' => [string](../types/string.md), \];<a name="messageMediaInvoice"></a>
|
||||||
|
|
||||||
@ -1023,7 +1042,7 @@ description: List of constructors
|
|||||||
<br><br>[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\];<a name="messageMediaUnsupported"></a>
|
<br><br>[$messageMediaUnsupported](../constructors/messageMediaUnsupported.md) = \[\];<a name="messageMediaUnsupported"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), \];<a name="messageMediaVenue"></a>
|
<br><br>[$messageMediaVenue](../constructors/messageMediaVenue.md) = \['geo' => [GeoPoint](../types/GeoPoint.md), 'title' => [string](../types/string.md), 'address' => [string](../types/string.md), 'provider' => [string](../types/string.md), 'venue_id' => [string](../types/string.md), 'venue_type' => [string](../types/string.md), \];<a name="messageMediaVenue"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \];<a name="messageMediaWebPage"></a>
|
<br><br>[$messageMediaWebPage](../constructors/messageMediaWebPage.md) = \['webpage' => [WebPage](../types/WebPage.md), \];<a name="messageMediaWebPage"></a>
|
||||||
@ -1047,7 +1066,7 @@ description: List of constructors
|
|||||||
|
|
||||||
[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \];<a name="messages_botCallbackAnswer"></a>
|
[$messages\_botCallbackAnswer](../constructors/messages_botCallbackAnswer.md) = \['alert' => [Bool](../types/Bool.md), 'has_url' => [Bool](../types/Bool.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), 'cache_time' => [int](../types/int.md), \];<a name="messages_botCallbackAnswer"></a>
|
||||||
|
|
||||||
[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), \];<a name="messages_botResults"></a>
|
[$messages\_botResults](../constructors/messages_botResults.md) = \['gallery' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), 'results' => \[[BotInlineResult](../types/BotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'users' => \[[User](../types/User.md)\], \];<a name="messages_botResults"></a>
|
||||||
|
|
||||||
[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="messages_channelMessages"></a>
|
[$messages\_channelMessages](../constructors/messages_channelMessages.md) = \['pts' => [int](../types/int.md), 'count' => [int](../types/int.md), 'messages' => \[[Message](../types/Message.md)\], 'chats' => \[[Chat](../types/Chat.md)\], 'users' => \[[User](../types/User.md)\], \];<a name="messages_channelMessages"></a>
|
||||||
|
|
||||||
@ -1368,6 +1387,21 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \];<a name="receivedNotifyMessage"></a>
|
<br><br>[$receivedNotifyMessage](../constructors/receivedNotifyMessage.md) = \['id' => [int](../types/int.md), \];<a name="receivedNotifyMessage"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$recentMeUrlChat](../constructors/recentMeUrlChat.md) = \['url' => [string](../types/string.md), 'chat_id' => [int](../types/int.md), \];<a name="recentMeUrlChat"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$recentMeUrlChatInvite](../constructors/recentMeUrlChatInvite.md) = \['url' => [string](../types/string.md), 'chat_invite' => [ChatInvite](../types/ChatInvite.md), \];<a name="recentMeUrlChatInvite"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$recentMeUrlStickerSet](../constructors/recentMeUrlStickerSet.md) = \['url' => [string](../types/string.md), 'set' => [StickerSetCovered](../types/StickerSetCovered.md), \];<a name="recentMeUrlStickerSet"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$recentMeUrlUnknown](../constructors/recentMeUrlUnknown.md) = \['url' => [string](../types/string.md), \];<a name="recentMeUrlUnknown"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$recentMeUrlUser](../constructors/recentMeUrlUser.md) = \['url' => [string](../types/string.md), 'user_id' => [int](../types/int.md), \];<a name="recentMeUrlUser"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$replyInlineMarkup](../constructors/replyInlineMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \];<a name="replyInlineMarkup"></a>
|
<br><br>[$replyInlineMarkup](../constructors/replyInlineMarkup.md) = \['rows' => \[[KeyboardButtonRow](../types/KeyboardButtonRow.md)\], \];<a name="replyInlineMarkup"></a>
|
||||||
|
|
||||||
@ -1558,6 +1592,9 @@ description: List of constructors
|
|||||||
***
|
***
|
||||||
<br><br>[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \];<a name="updateChannel"></a>
|
<br><br>[$updateChannel](../constructors/updateChannel.md) = \['channel_id' => [int](../types/int.md), \];<a name="updateChannel"></a>
|
||||||
|
|
||||||
|
***
|
||||||
|
<br><br>[$updateChannelAvailableMessages](../constructors/updateChannelAvailableMessages.md) = \['channel_id' => [int](../types/int.md), 'available_min_id' => [int](../types/int.md), \];<a name="updateChannelAvailableMessages"></a>
|
||||||
|
|
||||||
***
|
***
|
||||||
<br><br>[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \];<a name="updateChannelMessageViews"></a>
|
<br><br>[$updateChannelMessageViews](../constructors/updateChannelMessageViews.md) = \['channel_id' => [int](../types/int.md), 'id' => [int](../types/int.md), 'views' => [int](../types/int.md), \];<a name="updateChannelMessageViews"></a>
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@ description: inputBotInlineMessageMediaGeo attributes, type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Yes|
|
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Yes|
|
||||||
|
|period|[int](../types/int.md) | Yes|
|
||||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
@ -22,13 +23,13 @@ description: inputBotInlineMessageMediaGeo attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'reply_markup' => ReplyMarkup];
|
$inputBotInlineMessageMediaGeo = ['_' => 'inputBotInlineMessageMediaGeo', 'geo_point' => InputGeoPoint, 'period' => int, 'reply_markup' => ReplyMarkup];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "reply_markup": ReplyMarkup}
|
{"_": "inputBotInlineMessageMediaGeo", "geo_point": InputGeoPoint, "period": int, "reply_markup": ReplyMarkup}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -36,7 +37,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, reply_markup=ReplyMarkup}
|
inputBotInlineMessageMediaGeo={_='inputBotInlineMessageMediaGeo', geo_point=InputGeoPoint, period=int, reply_markup=ReplyMarkup}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
43
docs/API_docs/constructors/inputMediaGeoLive.md
Normal file
43
docs/API_docs/constructors/inputMediaGeoLive.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: inputMediaGeoLive
|
||||||
|
description: inputMediaGeoLive attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: inputMediaGeoLive
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Yes|
|
||||||
|
|period|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [InputMedia](../types/InputMedia.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$inputMediaGeoLive = ['_' => 'inputMediaGeoLive', 'geo_point' => InputGeoPoint, 'period' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "inputMediaGeoLive", "geo_point": InputGeoPoint, "period": int}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
inputMediaGeoLive={_='inputMediaGeoLive', geo_point=InputGeoPoint, period=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -16,6 +16,7 @@ description: inputMediaVenue attributes, type and example
|
|||||||
|address|[string](../types/string.md) | Yes|
|
|address|[string](../types/string.md) | Yes|
|
||||||
|provider|[string](../types/string.md) | Yes|
|
|provider|[string](../types/string.md) | Yes|
|
||||||
|venue\_id|[string](../types/string.md) | Yes|
|
|venue\_id|[string](../types/string.md) | Yes|
|
||||||
|
|venue\_type|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -25,13 +26,13 @@ description: inputMediaVenue attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string'];
|
$inputMediaVenue = ['_' => 'inputMediaVenue', 'geo_point' => InputGeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"}
|
{"_": "inputMediaVenue", "geo_point": InputGeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -39,7 +40,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string'}
|
inputMediaVenue={_='inputMediaVenue', geo_point=InputGeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
37
docs/API_docs/constructors/inputMessagesFilterContacts.md
Normal file
37
docs/API_docs/constructors/inputMessagesFilterContacts.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: inputMessagesFilterContacts
|
||||||
|
description: inputMessagesFilterContacts attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: inputMessagesFilterContacts
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MessagesFilter](../types/MessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$inputMessagesFilterContacts = ['_' => 'inputMessagesFilterContacts'];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "inputMessagesFilterContacts"}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
inputMessagesFilterContacts={_='inputMessagesFilterContacts'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
37
docs/API_docs/constructors/inputMessagesFilterGeo.md
Normal file
37
docs/API_docs/constructors/inputMessagesFilterGeo.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
title: inputMessagesFilterGeo
|
||||||
|
description: inputMessagesFilterGeo attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: inputMessagesFilterGeo
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MessagesFilter](../types/MessagesFilter.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$inputMessagesFilterGeo = ['_' => 'inputMessagesFilterGeo'];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "inputMessagesFilterGeo"}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
inputMessagesFilterGeo={_='inputMessagesFilterGeo'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
42
docs/API_docs/constructors/messageActionCustomAction.md
Normal file
42
docs/API_docs/constructors/messageActionCustomAction.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
title: messageActionCustomAction
|
||||||
|
description: messageActionCustomAction attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: messageActionCustomAction
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|message|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MessageAction](../types/MessageAction.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$messageActionCustomAction = ['_' => 'messageActionCustomAction', 'message' => 'string'];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "messageActionCustomAction", "message": "string"}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
messageActionCustomAction={_='messageActionCustomAction', message='string'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
43
docs/API_docs/constructors/messageMediaGeoLive.md
Normal file
43
docs/API_docs/constructors/messageMediaGeoLive.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: messageMediaGeoLive
|
||||||
|
description: messageMediaGeoLive attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: messageMediaGeoLive
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|geo|[GeoPoint](../types/GeoPoint.md) | Yes|
|
||||||
|
|period|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [MessageMedia](../types/MessageMedia.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$messageMediaGeoLive = ['_' => 'messageMediaGeoLive', 'geo' => GeoPoint, 'period' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "messageMediaGeoLive", "geo": GeoPoint, "period": int}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
messageMediaGeoLive={_='messageMediaGeoLive', geo=GeoPoint, period=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -16,6 +16,7 @@ description: messageMediaVenue attributes, type and example
|
|||||||
|address|[string](../types/string.md) | Yes|
|
|address|[string](../types/string.md) | Yes|
|
||||||
|provider|[string](../types/string.md) | Yes|
|
|provider|[string](../types/string.md) | Yes|
|
||||||
|venue\_id|[string](../types/string.md) | Yes|
|
|venue\_id|[string](../types/string.md) | Yes|
|
||||||
|
|venue\_type|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -25,13 +26,13 @@ description: messageMediaVenue attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string'];
|
$messageMediaVenue = ['_' => 'messageMediaVenue', 'geo' => GeoPoint, 'title' => 'string', 'address' => 'string', 'provider' => 'string', 'venue_id' => 'string', 'venue_type' => 'string'];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string"}
|
{"_": "messageMediaVenue", "geo": GeoPoint, "title": "string", "address": "string", "provider": "string", "venue_id": "string", "venue_type": "string"}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -39,7 +40,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string'}
|
messageMediaVenue={_='messageMediaVenue', geo=GeoPoint, title='string', address='string', provider='string', venue_id='string', venue_type='string'}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@ description: messages_botResults attributes, type and example
|
|||||||
|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|
|
|switch\_pm|[InlineBotSwitchPM](../types/InlineBotSwitchPM.md) | Optional|
|
||||||
|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|
|
|results|Array of [BotInlineResult](../types/BotInlineResult.md) | Yes|
|
||||||
|cache\_time|[int](../types/int.md) | Yes|
|
|cache\_time|[int](../types/int.md) | Yes|
|
||||||
|
|users|Array of [User](../types/User.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -26,13 +27,13 @@ description: messages_botResults attributes, type and example
|
|||||||
### Example:
|
### Example:
|
||||||
|
|
||||||
```
|
```
|
||||||
$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int];
|
$messages_botResults = ['_' => 'messages.botResults', 'gallery' => Bool, 'query_id' => long, 'next_offset' => 'string', 'switch_pm' => InlineBotSwitchPM, 'results' => [BotInlineResult], 'cache_time' => int, 'users' => [User]];
|
||||||
```
|
```
|
||||||
|
|
||||||
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
```
|
```
|
||||||
{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int}
|
{"_": "messages.botResults", "gallery": Bool, "query_id": long, "next_offset": "string", "switch_pm": InlineBotSwitchPM, "results": [BotInlineResult], "cache_time": int, "users": [User]}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@ -40,7 +41,7 @@ Or, if you're into Lua:
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int}
|
messages_botResults={_='messages.botResults', gallery=Bool, query_id=long, next_offset='string', switch_pm=InlineBotSwitchPM, results={BotInlineResult}, cache_time=int, users={User}}
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
43
docs/API_docs/constructors/recentMeUrlChat.md
Normal file
43
docs/API_docs/constructors/recentMeUrlChat.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: recentMeUrlChat
|
||||||
|
description: recentMeUrlChat attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: recentMeUrlChat
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|url|[string](../types/string.md) | Yes|
|
||||||
|
|chat\_id|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [RecentMeUrl](../types/RecentMeUrl.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$recentMeUrlChat = ['_' => 'recentMeUrlChat', 'url' => 'string', 'chat_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "recentMeUrlChat", "url": "string", "chat_id": int}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
recentMeUrlChat={_='recentMeUrlChat', url='string', chat_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
43
docs/API_docs/constructors/recentMeUrlChatInvite.md
Normal file
43
docs/API_docs/constructors/recentMeUrlChatInvite.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: recentMeUrlChatInvite
|
||||||
|
description: recentMeUrlChatInvite attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: recentMeUrlChatInvite
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|url|[string](../types/string.md) | Yes|
|
||||||
|
|chat\_invite|[ChatInvite](../types/ChatInvite.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [RecentMeUrl](../types/RecentMeUrl.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$recentMeUrlChatInvite = ['_' => 'recentMeUrlChatInvite', 'url' => 'string', 'chat_invite' => ChatInvite];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "recentMeUrlChatInvite", "url": "string", "chat_invite": ChatInvite}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
recentMeUrlChatInvite={_='recentMeUrlChatInvite', url='string', chat_invite=ChatInvite}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
43
docs/API_docs/constructors/recentMeUrlStickerSet.md
Normal file
43
docs/API_docs/constructors/recentMeUrlStickerSet.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: recentMeUrlStickerSet
|
||||||
|
description: recentMeUrlStickerSet attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: recentMeUrlStickerSet
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|url|[string](../types/string.md) | Yes|
|
||||||
|
|set|[StickerSetCovered](../types/StickerSetCovered.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [RecentMeUrl](../types/RecentMeUrl.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$recentMeUrlStickerSet = ['_' => 'recentMeUrlStickerSet', 'url' => 'string', 'set' => StickerSetCovered];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "recentMeUrlStickerSet", "url": "string", "set": StickerSetCovered}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
recentMeUrlStickerSet={_='recentMeUrlStickerSet', url='string', set=StickerSetCovered}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
42
docs/API_docs/constructors/recentMeUrlUnknown.md
Normal file
42
docs/API_docs/constructors/recentMeUrlUnknown.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
title: recentMeUrlUnknown
|
||||||
|
description: recentMeUrlUnknown attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: recentMeUrlUnknown
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|url|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [RecentMeUrl](../types/RecentMeUrl.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$recentMeUrlUnknown = ['_' => 'recentMeUrlUnknown', 'url' => 'string'];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "recentMeUrlUnknown", "url": "string"}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
recentMeUrlUnknown={_='recentMeUrlUnknown', url='string'}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
43
docs/API_docs/constructors/recentMeUrlUser.md
Normal file
43
docs/API_docs/constructors/recentMeUrlUser.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: recentMeUrlUser
|
||||||
|
description: recentMeUrlUser attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: recentMeUrlUser
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|url|[string](../types/string.md) | Yes|
|
||||||
|
|user\_id|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [RecentMeUrl](../types/RecentMeUrl.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$recentMeUrlUser = ['_' => 'recentMeUrlUser', 'url' => 'string', 'user_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "recentMeUrlUser", "url": "string", "user_id": int}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
recentMeUrlUser={_='recentMeUrlUser', url='string', user_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
43
docs/API_docs/constructors/updateChannelAvailableMessages.md
Normal file
43
docs/API_docs/constructors/updateChannelAvailableMessages.md
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
---
|
||||||
|
title: updateChannelAvailableMessages
|
||||||
|
description: updateChannelAvailableMessages attributes, type and example
|
||||||
|
---
|
||||||
|
## Constructor: updateChannelAvailableMessages
|
||||||
|
[Back to constructors index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Attributes:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|channel\_id|[int](../types/int.md) | Yes|
|
||||||
|
|available\_min\_id|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Type: [Update](../types/Update.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
```
|
||||||
|
$updateChannelAvailableMessages = ['_' => 'updateChannelAvailableMessages', 'channel_id' => int, 'available_min_id' => int];
|
||||||
|
```
|
||||||
|
|
||||||
|
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
|
||||||
|
|
||||||
|
```
|
||||||
|
{"_": "updateChannelAvailableMessages", "channel_id": int, "available_min_id": int}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
updateChannelAvailableMessages={_='updateChannelAvailableMessages', channel_id=int, available_min_id=int}
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
title: MadelineProto API documentation (layer 71)
|
title: MadelineProto API documentation (layer 72)
|
||||||
description: MadelineProto API documentation (layer 71)
|
description: MadelineProto API documentation (layer 72)
|
||||||
---
|
---
|
||||||
# MadelineProto API documentation (layer 71)
|
# MadelineProto API documentation (layer 72)
|
||||||
|
|
||||||
[Methods](methods/)
|
[Methods](methods/)
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ description: account.confirmPhone parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CODE_HASH_INVALID|Code hash invalid|
|
||||||
|PHONE_CODE_EMPTY|phone_code is missing|
|
|PHONE_CODE_EMPTY|phone_code is missing|
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
74
docs/API_docs/methods/channels_deleteHistory.md
Normal file
74
docs/API_docs/methods/channels_deleteHistory.md
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
---
|
||||||
|
title: channels.deleteHistory
|
||||||
|
description: channels.deleteHistory parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: channels.deleteHistory
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|channel|[InputChannel](../types/InputChannel.md) | Yes|
|
||||||
|
|max\_id|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Bool](../types/Bool.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$MadelineProto->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$sentCode = $MadelineProto->phone_login($number);
|
||||||
|
echo 'Enter the code you received: ';
|
||||||
|
$code = '';
|
||||||
|
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
|
||||||
|
$code .= fgetc(STDIN);
|
||||||
|
}
|
||||||
|
$MadelineProto->complete_phone_login($code);
|
||||||
|
}
|
||||||
|
|
||||||
|
$Bool = $MadelineProto->channels->deleteHistory(['channel' => InputChannel, 'max_id' => int, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
||||||
|
|
||||||
|
### As a bot:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
* method - channels.deleteHistory
|
||||||
|
* params - `{"channel": InputChannel, "max_id": int, }`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### As a user:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.deleteHistory`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
channel - Json encoded InputChannel
|
||||||
|
|
||||||
|
max_id - Json encoded int
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
Bool = channels.deleteHistory({channel=InputChannel, max_id=int, })
|
||||||
|
```
|
||||||
|
|
@ -31,6 +31,7 @@ description: channels.editAdmin parameters, return type and example
|
|||||||
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
||||||
|
|USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: channels.getChannels parameters, return type and example
|
|||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|NEED_CHAT_INVALID|The provided chat is invalid|
|
|NEED_CHAT_INVALID|The provided chat is invalid|
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ description: channels.inviteToChannel parameters, return type and example
|
|||||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||||
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
||||||
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
||||||
|
|USER_BLOCKED|User blocked|
|
||||||
|USER_BOT|Bots can only be admins in channels.|
|
|USER_BOT|Bots can only be admins in channels.|
|
||||||
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|
@ -24,6 +24,7 @@ description: channels.toggleInvites parameters, return type and example
|
|||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
74
docs/API_docs/methods/channels_togglePreHistoryHidden.md
Normal file
74
docs/API_docs/methods/channels_togglePreHistoryHidden.md
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
---
|
||||||
|
title: channels.togglePreHistoryHidden
|
||||||
|
description: channels.togglePreHistoryHidden parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: channels.togglePreHistoryHidden
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|channel|[InputChannel](../types/InputChannel.md) | Yes|
|
||||||
|
|enabled|[Bool](../types/Bool.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [Updates](../types/Updates.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$MadelineProto->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$sentCode = $MadelineProto->phone_login($number);
|
||||||
|
echo 'Enter the code you received: ';
|
||||||
|
$code = '';
|
||||||
|
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
|
||||||
|
$code .= fgetc(STDIN);
|
||||||
|
}
|
||||||
|
$MadelineProto->complete_phone_login($code);
|
||||||
|
}
|
||||||
|
|
||||||
|
$Updates = $MadelineProto->channels->togglePreHistoryHidden(['channel' => InputChannel, 'enabled' => Bool, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
||||||
|
|
||||||
|
### As a bot:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
* method - channels.togglePreHistoryHidden
|
||||||
|
* params - `{"channel": InputChannel, "enabled": Bool, }`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### As a user:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/channels.togglePreHistoryHidden`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
channel - Json encoded InputChannel
|
||||||
|
|
||||||
|
enabled - Json encoded Bool
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
Updates = channels.togglePreHistoryHidden({channel=InputChannel, enabled=Bool, })
|
||||||
|
```
|
||||||
|
|
71
docs/API_docs/methods/help_getRecentMeUrls.md
Normal file
71
docs/API_docs/methods/help_getRecentMeUrls.md
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
---
|
||||||
|
title: help.getRecentMeUrls
|
||||||
|
description: help.getRecentMeUrls parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: help.getRecentMeUrls
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|referer|[string](../types/string.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [help\_RecentMeUrls](../types/help_RecentMeUrls.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$MadelineProto->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$sentCode = $MadelineProto->phone_login($number);
|
||||||
|
echo 'Enter the code you received: ';
|
||||||
|
$code = '';
|
||||||
|
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
|
||||||
|
$code .= fgetc(STDIN);
|
||||||
|
}
|
||||||
|
$MadelineProto->complete_phone_login($code);
|
||||||
|
}
|
||||||
|
|
||||||
|
$help_RecentMeUrls = $MadelineProto->help->getRecentMeUrls(['referer' => 'string', ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
||||||
|
|
||||||
|
### As a bot:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
* method - help.getRecentMeUrls
|
||||||
|
* params - `{"referer": "string", }`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### As a user:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/help.getRecentMeUrls`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
referer - Json encoded string
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
help_RecentMeUrls = help.getRecentMeUrls({referer='string', })
|
||||||
|
```
|
||||||
|
|
@ -130,6 +130,8 @@ $MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcas
|
|||||||
|
|
||||||
$MadelineProto->[channels->deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$Updates](../types/Updates.md)<a name="channels_deleteChannel"></a>
|
$MadelineProto->[channels->deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) === [$Updates](../types/Updates.md)<a name="channels_deleteChannel"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[channels->deleteHistory](channels_deleteHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) === [$Bool](../types/Bool.md)<a name="channels_deleteHistory"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="channels_deleteMessages"></a>
|
$MadelineProto->[channels->deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="channels_deleteMessages"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="channels_deleteUserHistory"></a>
|
$MadelineProto->[channels->deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="channels_deleteUserHistory"></a>
|
||||||
@ -160,7 +162,7 @@ $MadelineProto->[channels->getMessages](channels_getMessages.md)(\['channel' =>
|
|||||||
|
|
||||||
$MadelineProto->[channels->getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)<a name="channels_getParticipant"></a>
|
$MadelineProto->[channels->getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) === [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)<a name="channels_getParticipant"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)<a name="channels_getParticipants"></a>
|
$MadelineProto->[channels->getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) === [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)<a name="channels_getParticipants"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) === [$Updates](../types/Updates.md)<a name="channels_inviteToChannel"></a>
|
$MadelineProto->[channels->inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) === [$Updates](../types/Updates.md)<a name="channels_inviteToChannel"></a>
|
||||||
|
|
||||||
@ -178,6 +180,8 @@ $MadelineProto->[channels->setStickers](channels_setStickers.md)(\['channel' =>
|
|||||||
|
|
||||||
$MadelineProto->[channels->toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_toggleInvites"></a>
|
$MadelineProto->[channels->toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_toggleInvites"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[channels->togglePreHistoryHidden](channels_togglePreHistoryHidden.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_togglePreHistoryHidden"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_toggleSignatures"></a>
|
$MadelineProto->[channels->toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) === [$Updates](../types/Updates.md)<a name="channels_toggleSignatures"></a>
|
||||||
|
|
||||||
$MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="channels_updatePinnedMessage"></a>
|
$MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) === [$Updates](../types/Updates.md)<a name="channels_updatePinnedMessage"></a>
|
||||||
@ -239,6 +243,8 @@ $MadelineProto->[help->getInviteText](help_getInviteText.md)(\[\]) === [$help\_I
|
|||||||
|
|
||||||
$MadelineProto->[help->getNearestDc](help_getNearestDc.md)(\[\]) === [$NearestDc](../types/NearestDc.md)<a name="help_getNearestDc"></a>
|
$MadelineProto->[help->getNearestDc](help_getNearestDc.md)(\[\]) === [$NearestDc](../types/NearestDc.md)<a name="help_getNearestDc"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[help->getRecentMeUrls](help_getRecentMeUrls.md)(\['referer' => [string](../types/string.md), \]) === [$help\_RecentMeUrls](../types/help_RecentMeUrls.md)<a name="help_getRecentMeUrls"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md)<a name="help_getSupport"></a>
|
$MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) === [$help\_Support](../types/help_Support.md)<a name="help_getSupport"></a>
|
||||||
|
|
||||||
$MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md)<a name="help_getTermsOfService"></a>
|
$MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) === [$help\_TermsOfService](../types/help_TermsOfService.md)<a name="help_getTermsOfService"></a>
|
||||||
@ -298,7 +304,7 @@ $MadelineProto->[messages->editChatTitle](messages_editChatTitle.md)(\['chat_id'
|
|||||||
|
|
||||||
$MadelineProto->[messages->editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_editInlineBotMessage"></a>
|
$MadelineProto->[messages->editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$Bool](../types/Bool.md)<a name="messages_editInlineBotMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) === [$Updates](../types/Updates.md)<a name="messages_editMessage"></a>
|
$MadelineProto->[messages->editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'stop_geo_live' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), \]) === [$Updates](../types/Updates.md)<a name="messages_editMessage"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="messages_exportChatInvite"></a>
|
$MadelineProto->[messages->exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [InputPeer](../types/InputPeer.md), \]) === [$ExportedChatInvite](../types/ExportedChatInvite.md)<a name="messages_exportChatInvite"></a>
|
||||||
|
|
||||||
@ -358,6 +364,8 @@ $MadelineProto->[messages->getPeerSettings](messages_getPeerSettings.md)(\['peer
|
|||||||
|
|
||||||
$MadelineProto->[messages->getPinnedDialogs](messages_getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPinnedDialogs"></a>
|
$MadelineProto->[messages->getPinnedDialogs](messages_getPinnedDialogs.md)(\[\]) === [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)<a name="messages_getPinnedDialogs"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[messages->getRecentLocations](messages_getRecentLocations.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) === [$messages\_Messages](../types/messages_Messages.md)<a name="messages_getRecentLocations"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getRecentStickers](messages_getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md)<a name="messages_getRecentStickers"></a>
|
$MadelineProto->[messages->getRecentStickers](messages_getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) === [$messages\_RecentStickers](../types/messages_RecentStickers.md)<a name="messages_getRecentStickers"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) === [$messages\_SavedGifs](../types/messages_SavedGifs.md)<a name="messages_getSavedGifs"></a>
|
||||||
@ -384,6 +392,8 @@ $MadelineProto->[messages->readFeaturedStickers](messages_readFeaturedStickers.m
|
|||||||
|
|
||||||
$MadelineProto->[messages->readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readHistory"></a>
|
$MadelineProto->[messages->readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readHistory"></a>
|
||||||
|
|
||||||
|
$MadelineProto->[messages->readMentions](messages_readMentions.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) === [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)<a name="messages_readMentions"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readMessageContents"></a>
|
$MadelineProto->[messages->readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) === [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)<a name="messages_readMessageContents"></a>
|
||||||
|
|
||||||
$MadelineProto->[messages->receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) === [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)<a name="messages_receivedMessages"></a>
|
$MadelineProto->[messages->receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) === [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)<a name="messages_receivedMessages"></a>
|
||||||
|
@ -11,12 +11,14 @@ description: messages.editMessage parameters, return type and example
|
|||||||
| Name | Type | Required |
|
| Name | Type | Required |
|
||||||
|----------|---------------|----------|
|
|----------|---------------|----------|
|
||||||
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|
|no\_webpage|[Bool](../types/Bool.md) | Optional|
|
||||||
|
|stop\_geo\_live|[Bool](../types/Bool.md) | Optional|
|
||||||
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|
||||||
|id|[int](../types/int.md) | Yes|
|
|id|[int](../types/int.md) | Yes|
|
||||||
|message|[string](../types/string.md) | Optional|
|
|message|[string](../types/string.md) | Optional|
|
||||||
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
|reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Optional|
|
||||||
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
|entities|Array of [MessageEntity](../types/MessageEntity.md) | Optional|
|
||||||
|parse\_mode| [string](../types/string.md) | Optional |
|
|parse\_mode| [string](../types/string.md) | Optional |
|
||||||
|
|geo\_point|[InputGeoPoint](../types/InputGeoPoint.md) | Optional|
|
||||||
|
|
||||||
|
|
||||||
### Return type: [Updates](../types/Updates.md)
|
### Return type: [Updates](../types/Updates.md)
|
||||||
@ -56,7 +58,7 @@ if (isset($number)) { // Login as a user
|
|||||||
$MadelineProto->complete_phone_login($code);
|
$MadelineProto->complete_phone_login($code);
|
||||||
}
|
}
|
||||||
|
|
||||||
$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', ]);
|
$Updates = $MadelineProto->messages->editMessage(['no_webpage' => Bool, 'stop_geo_live' => Bool, 'peer' => InputPeer, 'id' => int, 'message' => 'string', 'reply_markup' => ReplyMarkup, 'entities' => [MessageEntity], 'parse_mode' => 'string', 'geo_point' => InputGeoPoint, ]);
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
||||||
@ -68,7 +70,7 @@ POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
|||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
* method - messages.editMessage
|
* method - messages.editMessage
|
||||||
* params - `{"no_webpage": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string"}`
|
* params - `{"no_webpage": Bool, "stop_geo_live": Bool, "peer": InputPeer, "id": int, "message": "string", "reply_markup": ReplyMarkup, "entities": [MessageEntity], "parse_mode": "string""geo_point": InputGeoPoint, }`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -79,13 +81,15 @@ POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.editMessage`
|
|||||||
Parameters:
|
Parameters:
|
||||||
|
|
||||||
parse_mode - string
|
parse_mode - string
|
||||||
|
geo_point - Json encoded InputGeoPoint
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Or, if you're into Lua:
|
Or, if you're into Lua:
|
||||||
|
|
||||||
```
|
```
|
||||||
Updates = messages.editMessage({no_webpage=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', })
|
Updates = messages.editMessage({no_webpage=Bool, stop_geo_live=Bool, peer=InputPeer, id=int, message='string', reply_markup=ReplyMarkup, entities={MessageEntity}, parse_mode='string', geo_point=InputGeoPoint, })
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -30,6 +30,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -25,6 +25,7 @@ description: messages.getBotCallbackAnswer parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|DATA_INVALID|Encrypted data invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|Timeout|A timeout occurred while fetching data from the bot|
|
|Timeout|A timeout occurred while fetching data from the bot|
|
||||||
|
@ -22,6 +22,7 @@ description: messages.getPeerSettings parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|
|
||||||
|
|
||||||
|
74
docs/API_docs/methods/messages_getRecentLocations.md
Normal file
74
docs/API_docs/methods/messages_getRecentLocations.md
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
---
|
||||||
|
title: messages.getRecentLocations
|
||||||
|
description: messages.getRecentLocations parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: messages.getRecentLocations
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|
||||||
|
|limit|[int](../types/int.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [messages\_Messages](../types/messages_Messages.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$MadelineProto->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$sentCode = $MadelineProto->phone_login($number);
|
||||||
|
echo 'Enter the code you received: ';
|
||||||
|
$code = '';
|
||||||
|
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
|
||||||
|
$code .= fgetc(STDIN);
|
||||||
|
}
|
||||||
|
$MadelineProto->complete_phone_login($code);
|
||||||
|
}
|
||||||
|
|
||||||
|
$messages_Messages = $MadelineProto->messages->getRecentLocations(['peer' => InputPeer, 'limit' => int, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
||||||
|
|
||||||
|
### As a bot:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
* method - messages.getRecentLocations
|
||||||
|
* params - `{"peer": InputPeer, "limit": int, }`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### As a user:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.getRecentLocations`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
peer - Json encoded InputPeer
|
||||||
|
|
||||||
|
limit - Json encoded int
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
messages_Messages = messages.getRecentLocations({peer=InputPeer, limit=int, })
|
||||||
|
```
|
||||||
|
|
@ -22,6 +22,7 @@ description: messages.migrateChat parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|
|
||||||
|
71
docs/API_docs/methods/messages_readMentions.md
Normal file
71
docs/API_docs/methods/messages_readMentions.md
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
---
|
||||||
|
title: messages.readMentions
|
||||||
|
description: messages.readMentions parameters, return type and example
|
||||||
|
---
|
||||||
|
## Method: messages.readMentions
|
||||||
|
[Back to methods index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
### Parameters:
|
||||||
|
|
||||||
|
| Name | Type | Required |
|
||||||
|
|----------|---------------|----------|
|
||||||
|
|peer|[InputPeer](../types/InputPeer.md) | Yes|
|
||||||
|
|
||||||
|
|
||||||
|
### Return type: [messages\_AffectedHistory](../types/messages_AffectedHistory.md)
|
||||||
|
|
||||||
|
### Can bots use this method: **YES**
|
||||||
|
|
||||||
|
|
||||||
|
### Example:
|
||||||
|
|
||||||
|
|
||||||
|
```
|
||||||
|
$MadelineProto = new \danog\MadelineProto\API();
|
||||||
|
if (isset($token)) { // Login as a bot
|
||||||
|
$MadelineProto->bot_login($token);
|
||||||
|
}
|
||||||
|
if (isset($number)) { // Login as a user
|
||||||
|
$sentCode = $MadelineProto->phone_login($number);
|
||||||
|
echo 'Enter the code you received: ';
|
||||||
|
$code = '';
|
||||||
|
for ($x = 0; $x < $sentCode['type']['length']; $x++) {
|
||||||
|
$code .= fgetc(STDIN);
|
||||||
|
}
|
||||||
|
$MadelineProto->complete_phone_login($code);
|
||||||
|
}
|
||||||
|
|
||||||
|
$messages_AffectedHistory = $MadelineProto->messages->readMentions(['peer' => InputPeer, ]);
|
||||||
|
```
|
||||||
|
|
||||||
|
Or, if you're using the [PWRTelegram HTTP API](https://pwrtelegram.xyz):
|
||||||
|
|
||||||
|
### As a bot:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/botTOKEN/madeline`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
* method - messages.readMentions
|
||||||
|
* params - `{"peer": InputPeer, }`
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### As a user:
|
||||||
|
|
||||||
|
POST/GET to `https://api.pwrtelegram.xyz/userTOKEN/messages.readMentions`
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
|
||||||
|
peer - Json encoded InputPeer
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Or, if you're into Lua:
|
||||||
|
|
||||||
|
```
|
||||||
|
messages_AffectedHistory = messages.readMentions({peer=InputPeer, })
|
||||||
|
```
|
||||||
|
|
@ -33,6 +33,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -39,6 +39,8 @@ description: constructors and methods of type ChannelAdminLogEventAction
|
|||||||
|
|
||||||
[channelAdminLogEventActionChangeStickerSet](../constructors/channelAdminLogEventActionChangeStickerSet.md)
|
[channelAdminLogEventActionChangeStickerSet](../constructors/channelAdminLogEventActionChangeStickerSet.md)
|
||||||
|
|
||||||
|
[channelAdminLogEventActionTogglePreHistoryHidden](../constructors/channelAdminLogEventActionTogglePreHistoryHidden.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -35,6 +35,8 @@ description: constructors and methods of type InputMedia
|
|||||||
|
|
||||||
[inputMediaInvoice](../constructors/inputMediaInvoice.md)
|
[inputMediaInvoice](../constructors/inputMediaInvoice.md)
|
||||||
|
|
||||||
|
[inputMediaGeoLive](../constructors/inputMediaGeoLive.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -45,6 +45,8 @@ description: constructors and methods of type MessageAction
|
|||||||
|
|
||||||
[messageActionScreenshotTaken](../constructors/messageActionScreenshotTaken.md)
|
[messageActionScreenshotTaken](../constructors/messageActionScreenshotTaken.md)
|
||||||
|
|
||||||
|
[messageActionCustomAction](../constructors/messageActionCustomAction.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -29,6 +29,8 @@ description: constructors and methods of type MessageMedia
|
|||||||
|
|
||||||
[messageMediaInvoice](../constructors/messageMediaInvoice.md)
|
[messageMediaInvoice](../constructors/messageMediaInvoice.md)
|
||||||
|
|
||||||
|
[messageMediaGeoLive](../constructors/messageMediaGeoLive.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -39,7 +39,9 @@ description: constructors and methods of type MessagesFilter
|
|||||||
|
|
||||||
[inputMessagesFilterMyMentions](../constructors/inputMessagesFilterMyMentions.md)
|
[inputMessagesFilterMyMentions](../constructors/inputMessagesFilterMyMentions.md)
|
||||||
|
|
||||||
[inputMessagesFilterMyMentionsUnread](../constructors/inputMessagesFilterMyMentionsUnread.md)
|
[inputMessagesFilterContacts](../constructors/inputMessagesFilterContacts.md)
|
||||||
|
|
||||||
|
[inputMessagesFilterGeo](../constructors/inputMessagesFilterGeo.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
27
docs/API_docs/types/RecentMeUrl.md
Normal file
27
docs/API_docs/types/RecentMeUrl.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
title: RecentMeUrl
|
||||||
|
description: constructors and methods of type RecentMeUrl
|
||||||
|
---
|
||||||
|
## Type: RecentMeUrl
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[recentMeUrlUser](../constructors/recentMeUrlUser.md)
|
||||||
|
|
||||||
|
[recentMeUrlChat](../constructors/recentMeUrlChat.md)
|
||||||
|
|
||||||
|
[recentMeUrlStickerSet](../constructors/recentMeUrlStickerSet.md)
|
||||||
|
|
||||||
|
[recentMeUrlChatInvite](../constructors/recentMeUrlChatInvite.md)
|
||||||
|
|
||||||
|
[recentMeUrlUnknown](../constructors/recentMeUrlUnknown.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -141,6 +141,8 @@ Contains notifications about data changes
|
|||||||
|
|
||||||
[updateContactsReset](../constructors/updateContactsReset.md)
|
[updateContactsReset](../constructors/updateContactsReset.md)
|
||||||
|
|
||||||
|
[updateChannelAvailableMessages](../constructors/updateChannelAvailableMessages.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
@ -89,6 +89,8 @@ description: constructors and methods of type Updates
|
|||||||
|
|
||||||
[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md)
|
[$MadelineProto->channels->editBanned](../methods/channels_editBanned.md)
|
||||||
|
|
||||||
|
[$MadelineProto->channels->togglePreHistoryHidden](../methods/channels_togglePreHistoryHidden.md)
|
||||||
|
|
||||||
[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md)
|
[$MadelineProto->phone->discardCall](../methods/phone_discardCall.md)
|
||||||
|
|
||||||
[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md)
|
[$MadelineProto->phone->setCallRating](../methods/phone_setCallRating.md)
|
||||||
|
@ -11,6 +11,8 @@ description: constructors and methods of type channels_ChannelParticipants
|
|||||||
|
|
||||||
[channels\_channelParticipants](../constructors/channels_channelParticipants.md)
|
[channels\_channelParticipants](../constructors/channels_channelParticipants.md)
|
||||||
|
|
||||||
|
[channels\_channelParticipantsNotModified](../constructors/channels_channelParticipantsNotModified.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Methods that return an object of this type (methods):
|
### Methods that return an object of this type (methods):
|
||||||
|
21
docs/API_docs/types/help_RecentMeUrls.md
Normal file
21
docs/API_docs/types/help_RecentMeUrls.md
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
title: help_RecentMeUrls
|
||||||
|
description: constructors and methods of type help_RecentMeUrls
|
||||||
|
---
|
||||||
|
## Type: help\_RecentMeUrls
|
||||||
|
[Back to types index](index.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Possible values (constructors):
|
||||||
|
|
||||||
|
[help\_recentMeUrls](../constructors/help_recentMeUrls.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
### Methods that return an object of this type (methods):
|
||||||
|
|
||||||
|
[$MadelineProto->help->getRecentMeUrls](../methods/help_getRecentMeUrls.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -284,6 +284,8 @@ description: List of types
|
|||||||
|
|
||||||
[ReceivedNotifyMessage](ReceivedNotifyMessage.md)<a name="ReceivedNotifyMessage"></a>
|
[ReceivedNotifyMessage](ReceivedNotifyMessage.md)<a name="ReceivedNotifyMessage"></a>
|
||||||
|
|
||||||
|
[RecentMeUrl](RecentMeUrl.md)<a name="RecentMeUrl"></a>
|
||||||
|
|
||||||
[ReplyMarkup](ReplyMarkup.md)<a name="ReplyMarkup"></a>
|
[ReplyMarkup](ReplyMarkup.md)<a name="ReplyMarkup"></a>
|
||||||
|
|
||||||
[ReportReason](ReportReason.md)<a name="ReportReason"></a>
|
[ReportReason](ReportReason.md)<a name="ReportReason"></a>
|
||||||
@ -392,6 +394,8 @@ description: List of types
|
|||||||
|
|
||||||
[help\_InviteText](help_InviteText.md)<a name="help_InviteText"></a>
|
[help\_InviteText](help_InviteText.md)<a name="help_InviteText"></a>
|
||||||
|
|
||||||
|
[help\_RecentMeUrls](help_RecentMeUrls.md)<a name="help_RecentMeUrls"></a>
|
||||||
|
|
||||||
[help\_Support](help_Support.md)<a name="help_Support"></a>
|
[help\_Support](help_Support.md)<a name="help_Support"></a>
|
||||||
|
|
||||||
[help\_TermsOfService](help_TermsOfService.md)<a name="help_TermsOfService"></a>
|
[help\_TermsOfService](help_TermsOfService.md)<a name="help_TermsOfService"></a>
|
||||||
|
@ -17,6 +17,8 @@ description: constructors and methods of type messages_AffectedHistory
|
|||||||
|
|
||||||
[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md)
|
[$MadelineProto->messages->deleteHistory](../methods/messages_deleteHistory.md)
|
||||||
|
|
||||||
|
[$MadelineProto->messages->readMentions](../methods/messages_readMentions.md)
|
||||||
|
|
||||||
[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md)
|
[$MadelineProto->channels->deleteUserHistory](../methods/channels_deleteUserHistory.md)
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,6 +29,8 @@ description: constructors and methods of type messages_Messages
|
|||||||
|
|
||||||
[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md)
|
[$MadelineProto->messages->getUnreadMentions](../methods/messages_getUnreadMentions.md)
|
||||||
|
|
||||||
|
[$MadelineProto->messages->getRecentLocations](../methods/messages_getRecentLocations.md)
|
||||||
|
|
||||||
[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md)
|
[$MadelineProto->channels->getMessages](../methods/channels_getMessages.md)
|
||||||
|
|
||||||
|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -25,6 +25,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -25,6 +25,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -27,6 +27,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -31,6 +31,7 @@ description: channels.editAdmin parameters, return type and example
|
|||||||
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
||||||
|
|USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: channels.getChannels parameters, return type and example
|
|||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|NEED_CHAT_INVALID|The provided chat is invalid|
|
|NEED_CHAT_INVALID|The provided chat is invalid|
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ description: channels.inviteToChannel parameters, return type and example
|
|||||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||||
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
||||||
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
||||||
|
|USER_BLOCKED|User blocked|
|
||||||
|USER_BOT|Bots can only be admins in channels.|
|
|USER_BOT|Bots can only be admins in channels.|
|
||||||
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -27,6 +27,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -29,6 +29,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -26,6 +26,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -29,6 +29,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -31,6 +31,7 @@ description: channels.editAdmin parameters, return type and example
|
|||||||
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
||||||
|
|USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: channels.getChannels parameters, return type and example
|
|||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|NEED_CHAT_INVALID|The provided chat is invalid|
|
|NEED_CHAT_INVALID|The provided chat is invalid|
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ description: channels.inviteToChannel parameters, return type and example
|
|||||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||||
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
||||||
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
||||||
|
|USER_BLOCKED|User blocked|
|
||||||
|USER_BOT|Bots can only be admins in channels.|
|
|USER_BOT|Bots can only be admins in channels.|
|
||||||
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|
@ -23,6 +23,7 @@ description: messages.forwardMessage parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
|MESSAGE_ID_INVALID|The provided message id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|YOU_BLOCKED_USER|You blocked this user|
|
|YOU_BLOCKED_USER|You blocked this user|
|
||||||
|
@ -28,6 +28,7 @@ description: messages.forwardMessages parameters, return type and example
|
|||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
|CHAT_SEND_GIFS_FORBIDDEN|You can't send gifs in this chat|
|
||||||
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
|CHAT_SEND_MEDIA_FORBIDDEN|You can't send media in this chat|
|
||||||
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
|CHAT_SEND_STICKERS_FORBIDDEN|You can't send stickers in this chat.|
|
||||||
|
@ -22,6 +22,7 @@ description: messages.migrateChat parameters, return type and example
|
|||||||
|
|
||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|CHAT_ID_INVALID|The provided chat id is invalid|
|
|CHAT_ID_INVALID|The provided chat id is invalid|
|
||||||
|PEER_ID_INVALID|The provided peer id is invalid|
|
|PEER_ID_INVALID|The provided peer id is invalid|
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ description: messages.sendMessage parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
|BUTTON_DATA_INVALID|The provided button data is invalid|
|
||||||
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
|BUTTON_TYPE_INVALID|The type of one of the buttons you provided is invalid|
|
||||||
|
|BUTTON_URL_INVALID|Button URL invalid|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
|CHAT_ADMIN_REQUIRED|You must be an admin in this chat to do this|
|
||||||
|
@ -27,6 +27,7 @@ description: auth.bindTempAuthKey parameters, return type and example
|
|||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
|ENCRYPTED_MESSAGE_INVALID|Encrypted message invalid|
|
||||||
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
|INPUT_REQUEST_TOO_LONG|The request is too big|
|
||||||
|
|TEMP_AUTH_KEY_EMPTY|No temporary auth key provided|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -31,6 +31,7 @@ description: channels.editAdmin parameters, return type and example
|
|||||||
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
|USER_CREATOR|You can't leave this channel, because you're its creator|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
|USER_NOT_MUTUAL_CONTACT|The provided user is not a mutual contact|
|
||||||
|
|USER_PRIVACY_RESTRICTED|The user's privacy settings do not allow you to do this|
|
||||||
|
|
||||||
|
|
||||||
### Example:
|
### Example:
|
||||||
|
@ -23,6 +23,7 @@ description: channels.getChannels parameters, return type and example
|
|||||||
| Error | Description |
|
| Error | Description |
|
||||||
|----------|---------------|
|
|----------|---------------|
|
||||||
|CHANNEL_INVALID|The provided channel is invalid|
|
|CHANNEL_INVALID|The provided channel is invalid|
|
||||||
|
|CHANNEL_PRIVATE|You haven't joined this channel/supergroup|
|
||||||
|NEED_CHAT_INVALID|The provided chat is invalid|
|
|NEED_CHAT_INVALID|The provided chat is invalid|
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ description: channels.inviteToChannel parameters, return type and example
|
|||||||
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
|CHAT_WRITE_FORBIDDEN|You can't write in this chat|
|
||||||
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
|INPUT_USER_DEACTIVATED|The specified user was deleted|
|
||||||
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
|USER_BANNED_IN_CHANNEL|You're banned from sending messages in supergroups/channels|
|
||||||
|
|USER_BLOCKED|User blocked|
|
||||||
|USER_BOT|Bots can only be admins in channels.|
|
|USER_BOT|Bots can only be admins in channels.|
|
||||||
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
|USER_CHANNELS_TOO_MUCH|One of the users you tried to add is already in too many channels/supergroups|
|
||||||
|USER_ID_INVALID|The provided user ID is invalid|
|
|USER_ID_INVALID|The provided user ID is invalid|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user