Removed examples

This commit is contained in:
Daniil Gentili 2017-08-25 14:43:29 +02:00
parent 2519d19498
commit cf22652968
472 changed files with 14 additions and 15519 deletions

View File

@ -30,6 +30,7 @@ $docs = [
'description' => 'MadelineProto API documentation (td-lib)',
'output_dir' => __DIR__.'/docs/TD_docs',
'readme' => false,
'td' => true
],
[
'tl_schema' => ['mtproto' => __DIR__.'/src/danog/MadelineProto/TL_mtproto_v1.json'],

View File

@ -20,25 +20,3 @@ Contains infotmation about period of inactivity, after which the account of curr
### Type: [AccountTtl](../types/AccountTtl.md)
### Example:
```
$accountTtl = ['_' => 'accountTtl', 'days' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "accountTtl", "days": int}
```
Or, if you're into Lua:
```
accountTtl={_='accountTtl', days=int}
```

View File

@ -25,25 +25,3 @@ Describes animation file. Animation should be encoded in gif or mp4 format
### Type: [Animation](../types/Animation.md)
### Example:
```
$animation = ['_' => 'animation', 'width' => int, 'height' => int, 'file_name' => 'string', 'mime_type' => 'string', 'thumb' => photoSize, 'animation' => file];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "animation", "width": int, "height": int, "file_name": "string", "mime_type": "string", "thumb": photoSize, "animation": file}
```
Or, if you're into Lua:
```
animation={_='animation', width=int, height=int, file_name='string', mime_type='string', thumb=photoSize, animation=file}
```

View File

@ -20,25 +20,3 @@ Represents list of animations
### Type: [Animations](../types/Animations.md)
### Example:
```
$animations = ['_' => 'animations', 'animations' => [animation]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "animations", "animations": [animation]}
```
Or, if you're into Lua:
```
animations={_='animations', animations={animation}}
```

View File

@ -20,25 +20,3 @@ Token for APNS
### Type: [DeviceToken](../types/DeviceToken.md)
### Example:
```
$apnsDeviceToken = ['_' => 'apnsDeviceToken', 'token' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "apnsDeviceToken", "token": "string"}
```
Or, if you're into Lua:
```
apnsDeviceToken={_='apnsDeviceToken', token='string'}
```

View File

@ -26,25 +26,3 @@ Describes audio file. Audio is usually in mp3 format
### Type: [Audio](../types/Audio.md)
### Example:
```
$audio = ['_' => 'audio', 'duration' => int, 'title' => 'string', 'performer' => 'string', 'file_name' => 'string', 'mime_type' => 'string', 'album_cover_thumb' => photoSize, 'audio' => file];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "audio", "duration": int, "title": "string", "performer": "string", "file_name": "string", "mime_type": "string", "album_cover_thumb": photoSize, "audio": file}
```
Or, if you're into Lua:
```
audio={_='audio', duration=int, title='string', performer='string', file_name='string', mime_type='string', album_cover_thumb=photoSize, audio=file}
```

View File

@ -20,25 +20,3 @@ Code is delievered by voice call to the specified phone number
### Type: [AuthCodeType](../types/AuthCodeType.md)
### Example:
```
$authCodeTypeCall = ['_' => 'authCodeTypeCall', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authCodeTypeCall", "length": int}
```
Or, if you're into Lua:
```
authCodeTypeCall={_='authCodeTypeCall', length=int}
```

View File

@ -20,25 +20,3 @@ Code is delivered by the immediately cancelled call to the specified phone numbe
### Type: [AuthCodeType](../types/AuthCodeType.md)
### Example:
```
$authCodeTypeFlashCall = ['_' => 'authCodeTypeFlashCall', 'pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authCodeTypeFlashCall", "pattern": "string"}
```
Or, if you're into Lua:
```
authCodeTypeFlashCall={_='authCodeTypeFlashCall', pattern='string'}
```

View File

@ -20,25 +20,3 @@ Code is delivered through private Telegram message, which can be viewed in the o
### Type: [AuthCodeType](../types/AuthCodeType.md)
### Example:
```
$authCodeTypeMessage = ['_' => 'authCodeTypeMessage', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authCodeTypeMessage", "length": int}
```
Or, if you're into Lua:
```
authCodeTypeMessage={_='authCodeTypeMessage', length=int}
```

View File

@ -20,25 +20,3 @@ Code is delivered by SMS to the specified phone number
### Type: [AuthCodeType](../types/AuthCodeType.md)
### Example:
```
$authCodeTypeSms = ['_' => 'authCodeTypeSms', 'length' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authCodeTypeSms", "length": int}
```
Or, if you're into Lua:
```
authCodeTypeSms={_='authCodeTypeSms', length=int}
```

View File

@ -19,25 +19,3 @@ User is currently logging out
### Type: [AuthState](../types/AuthState.md)
### Example:
```
$authStateLoggingOut = ['_' => 'authStateLoggingOut'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authStateLoggingOut"}
```
Or, if you're into Lua:
```
authStateLoggingOut={_='authStateLoggingOut'}
```

View File

@ -19,25 +19,3 @@ User is successfully authorized. TDLib can answer queries
### Type: [AuthState](../types/AuthState.md)
### Example:
```
$authStateOk = ['_' => 'authStateOk'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authStateOk"}
```
Or, if you're into Lua:
```
authStateOk={_='authStateOk'}
```

View File

@ -23,25 +23,3 @@ TDLib needs user authentication code to finish authorization
### Type: [AuthState](../types/AuthState.md)
### Example:
```
$authStateWaitCode = ['_' => 'authStateWaitCode', 'is_registered' => Bool, 'code_type' => AuthCodeType, 'next_code_type' => AuthCodeType, 'timeout' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authStateWaitCode", "is_registered": Bool, "code_type": AuthCodeType, "next_code_type": AuthCodeType, "timeout": int}
```
Or, if you're into Lua:
```
authStateWaitCode={_='authStateWaitCode', is_registered=Bool, code_type=AuthCodeType, next_code_type=AuthCodeType, timeout=int}
```

View File

@ -22,25 +22,3 @@ User is authorized but he needs to enter its password to begin to use applicatio
### Type: [AuthState](../types/AuthState.md)
### Example:
```
$authStateWaitPassword = ['_' => 'authStateWaitPassword', 'password_hint' => 'string', 'has_recovery_email' => Bool, 'recovery_email_pattern' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authStateWaitPassword", "password_hint": "string", "has_recovery_email": Bool, "recovery_email_pattern": "string"}
```
Or, if you're into Lua:
```
authStateWaitPassword={_='authStateWaitPassword', password_hint='string', has_recovery_email=Bool, recovery_email_pattern='string'}
```

View File

@ -19,25 +19,3 @@ TDLib needs user's phone number to authorize
### Type: [AuthState](../types/AuthState.md)
### Example:
```
$authStateWaitPhoneNumber = ['_' => 'authStateWaitPhoneNumber'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "authStateWaitPhoneNumber"}
```
Or, if you're into Lua:
```
authStateWaitPhoneNumber={_='authStateWaitPhoneNumber'}
```

View File

@ -20,25 +20,3 @@ Token for Blackberry Push Service
### Type: [DeviceToken](../types/DeviceToken.md)
### Example:
```
$blackberryDeviceToken = ['_' => 'blackberryDeviceToken', 'token' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "blackberryDeviceToken", "token": "string"}
```
Or, if you're into Lua:
```
blackberryDeviceToken={_='blackberryDeviceToken', token='string'}
```

View File

@ -21,25 +21,3 @@ Represents command supported by bot
### Type: [BotCommand](../types/BotCommand.md)
### Example:
```
$botCommand = ['_' => 'botCommand', 'command' => 'string', 'description' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botCommand", "command": "string", "description": "string"}
```
Or, if you're into Lua:
```
botCommand={_='botCommand', command='string', description='string'}
```

View File

@ -21,25 +21,3 @@ Provides information about bot and command supported by him
### Type: [BotInfo](../types/BotInfo.md)
### Example:
```
$botInfo = ['_' => 'botInfo', 'description' => 'string', 'commands' => [botCommand]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "botInfo", "description": "string", "commands": [botCommand]}
```
Or, if you're into Lua:
```
botInfo={_='botInfo', description='string', commands={botCommand}}
```

View File

@ -22,25 +22,3 @@ Contains answer of the bot to the callback query
### Type: [CallbackQueryAnswer](../types/CallbackQueryAnswer.md)
### Example:
```
$callbackQueryAnswer = ['_' => 'callbackQueryAnswer', 'text' => 'string', 'show_alert' => Bool, 'url' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "callbackQueryAnswer", "text": "string", "show_alert": Bool, "url": "string"}
```
Or, if you're into Lua:
```
callbackQueryAnswer={_='callbackQueryAnswer', text='string', show_alert=Bool, url='string'}
```

View File

@ -20,25 +20,3 @@ Payload from a general callback button
### Type: [CallbackQueryPayload](../types/CallbackQueryPayload.md)
### Example:
```
$callbackQueryData = ['_' => 'callbackQueryData', 'data' => 'bytes'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "callbackQueryData", "data": "bytes"}
```
Or, if you're into Lua:
```
callbackQueryData={_='callbackQueryData', data='bytes'}
```

View File

@ -20,25 +20,3 @@ Payload from a game callback button
### Type: [CallbackQueryPayload](../types/CallbackQueryPayload.md)
### Example:
```
$callbackQueryGame = ['_' => 'callbackQueryGame', 'game_short_name' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "callbackQueryGame", "game_short_name": "string"}
```
Or, if you're into Lua:
```
callbackQueryGame={_='callbackQueryGame', game_short_name='string'}
```

View File

@ -28,25 +28,3 @@ Represents a channel with zero or more subscribers. There two different kinds of
### Type: [Channel](../types/Channel.md)
### Example:
```
$channel = ['_' => 'channel', 'id' => int, 'username' => 'string', 'date' => int, 'status' => ChatMemberStatus, 'anyone_can_invite' => Bool, 'sign_messages' => Bool, 'is_supergroup' => Bool, 'is_verified' => Bool, 'restriction_reason' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channel", "id": int, "username": "string", "date": int, "status": ChatMemberStatus, "anyone_can_invite": Bool, "sign_messages": Bool, "is_supergroup": Bool, "is_verified": Bool, "restriction_reason": "string"}
```
Or, if you're into Lua:
```
channel={_='channel', id=int, username='string', date=int, status=ChatMemberStatus, anyone_can_invite=Bool, sign_messages=Bool, is_supergroup=Bool, is_verified=Bool, restriction_reason='string'}
```

View File

@ -20,25 +20,3 @@ Chat with unlimited number of members
### Type: [ChatInfo](../types/ChatInfo.md)
### Example:
```
$channelChatInfo = ['_' => 'channelChatInfo', 'channel' => channel];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelChatInfo", "channel": channel}
```
Or, if you're into Lua:
```
channelChatInfo={_='channelChatInfo', channel=channel}
```

View File

@ -30,25 +30,3 @@ Gives full information about a channel
### Type: [ChannelFull](../types/ChannelFull.md)
### Example:
```
$channelFull = ['_' => 'channelFull', 'channel' => channel, 'about' => 'string', 'member_count' => int, 'administrator_count' => int, 'kicked_count' => int, 'can_get_members' => Bool, 'can_set_username' => Bool, 'invite_link' => 'string', 'pinned_message_id' => long, 'migrated_from_group_id' => int, 'migrated_from_max_message_id' => long];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelFull", "channel": channel, "about": "string", "member_count": int, "administrator_count": int, "kicked_count": int, "can_get_members": Bool, "can_set_username": Bool, "invite_link": "string", "pinned_message_id": long, "migrated_from_group_id": int, "migrated_from_max_message_id": long}
```
Or, if you're into Lua:
```
channelFull={_='channelFull', channel=channel, about='string', member_count=int, administrator_count=int, kicked_count=int, can_get_members=Bool, can_set_username=Bool, invite_link='string', pinned_message_id=long, migrated_from_group_id=int, migrated_from_max_message_id=long}
```

View File

@ -19,25 +19,3 @@ Return privileged members, i.e. creator, editors and moderators are returned
### Type: [ChannelMembersFilter](../types/ChannelMembersFilter.md)
### Example:
```
$channelMembersAdministrators = ['_' => 'channelMembersAdministrators'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMembersAdministrators"}
```
Or, if you're into Lua:
```
channelMembersAdministrators={_='channelMembersAdministrators'}
```

View File

@ -19,25 +19,3 @@ Return bots in the channel
### Type: [ChannelMembersFilter](../types/ChannelMembersFilter.md)
### Example:
```
$channelMembersBots = ['_' => 'channelMembersBots'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMembersBots"}
```
Or, if you're into Lua:
```
channelMembersBots={_='channelMembersBots'}
```

View File

@ -19,25 +19,3 @@ Return kicked from the channel
### Type: [ChannelMembersFilter](../types/ChannelMembersFilter.md)
### Example:
```
$channelMembersKicked = ['_' => 'channelMembersKicked'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMembersKicked"}
```
Or, if you're into Lua:
```
channelMembersKicked={_='channelMembersKicked'}
```

View File

@ -19,25 +19,3 @@ Return recently active users in reverse chronological order
### Type: [ChannelMembersFilter](../types/ChannelMembersFilter.md)
### Example:
```
$channelMembersRecent = ['_' => 'channelMembersRecent'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channelMembersRecent"}
```
Or, if you're into Lua:
```
channelMembersRecent={_='channelMembersRecent'}
```

View File

@ -20,25 +20,3 @@ Contains list of channel identifiers
### Type: [Channels](../types/Channels.md)
### Example:
```
$channels = ['_' => 'channels', 'channel_ids' => [int]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "channels", "channel_ids": [int]}
```
Or, if you're into Lua:
```
channels={_='channels', channel_ids={int}}
```

View File

@ -31,25 +31,3 @@ Chat (private chat or group chat or channel chat)
### Type: [Chat](../types/Chat.md)
### Example:
```
$chat = ['_' => 'chat', 'id' => long, 'title' => 'string', 'photo' => chatPhoto, 'top_message' => message, 'order' => long, 'unread_count' => int, 'last_read_inbox_message_id' => long, 'last_read_outbox_message_id' => long, 'notification_settings' => notificationSettings, 'reply_markup_message_id' => long, 'draft_message' => draftMessage, 'type' => ChatInfo];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chat", "id": long, "title": "string", "photo": chatPhoto, "top_message": message, "order": long, "unread_count": int, "last_read_inbox_message_id": long, "last_read_outbox_message_id": long, "notification_settings": notificationSettings, "reply_markup_message_id": long, "draft_message": draftMessage, "type": ChatInfo}
```
Or, if you're into Lua:
```
chat={_='chat', id=long, title='string', photo=chatPhoto, top_message=message, order=long, unread_count=int, last_read_inbox_message_id=long, last_read_outbox_message_id=long, notification_settings=notificationSettings, reply_markup_message_id=long, draft_message=draftMessage, type=ChatInfo}
```

View File

@ -20,25 +20,3 @@ Contains chat invite link
### Type: [ChatInviteLink](../types/ChatInviteLink.md)
### Example:
```
$chatInviteLink = ['_' => 'chatInviteLink', 'invite_link' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatInviteLink", "invite_link": "string"}
```
Or, if you're into Lua:
```
chatInviteLink={_='chatInviteLink', invite_link='string'}
```

View File

@ -28,25 +28,3 @@ Contains information about chat invite link
### Type: [ChatInviteLinkInfo](../types/ChatInviteLinkInfo.md)
### Example:
```
$chatInviteLinkInfo = ['_' => 'chatInviteLinkInfo', 'chat_id' => long, 'title' => 'string', 'photo' => chatPhoto, 'member_count' => int, 'members' => [user], 'is_group' => Bool, 'is_channel' => Bool, 'is_public_channel' => Bool, 'is_supergroup_channel' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatInviteLinkInfo", "chat_id": long, "title": "string", "photo": chatPhoto, "member_count": int, "members": [user], "is_group": Bool, "is_channel": Bool, "is_public_channel": Bool, "is_supergroup_channel": Bool}
```
Or, if you're into Lua:
```
chatInviteLinkInfo={_='chatInviteLinkInfo', chat_id=long, title='string', photo=chatPhoto, member_count=int, members={user}, is_group=Bool, is_channel=Bool, is_public_channel=Bool, is_supergroup_channel=Bool}
```

View File

@ -24,25 +24,3 @@ User with information about its chat joining/kicking
### Type: [ChatMember](../types/ChatMember.md)
### Example:
```
$chatMember = ['_' => 'chatMember', 'user_id' => int, 'inviter_user_id' => int, 'join_date' => int, 'status' => ChatMemberStatus, 'bot_info' => botInfo];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMember", "user_id": int, "inviter_user_id": int, "join_date": int, "status": ChatMemberStatus, "bot_info": botInfo}
```
Or, if you're into Lua:
```
chatMember={_='chatMember', user_id=int, inviter_user_id=int, join_date=int, status=ChatMemberStatus, bot_info=botInfo}
```

View File

@ -19,25 +19,3 @@ Creator of the chat, can delete any message, kick any user and add editors and m
### Type: [ChatMemberStatus](../types/ChatMemberStatus.md)
### Example:
```
$chatMemberStatusCreator = ['_' => 'chatMemberStatusCreator'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMemberStatusCreator"}
```
Or, if you're into Lua:
```
chatMemberStatusCreator={_='chatMemberStatusCreator'}
```

View File

@ -19,25 +19,3 @@ In broadcast channels, member that can post messages to the broadcast channel an
### Type: [ChatMemberStatus](../types/ChatMemberStatus.md)
### Example:
```
$chatMemberStatusEditor = ['_' => 'chatMemberStatusEditor'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMemberStatusEditor"}
```
Or, if you're into Lua:
```
chatMemberStatusEditor={_='chatMemberStatusEditor'}
```

View File

@ -19,25 +19,3 @@ User was kicked from the chat (and obviously is not a chat member)
### Type: [ChatMemberStatus](../types/ChatMemberStatus.md)
### Example:
```
$chatMemberStatusKicked = ['_' => 'chatMemberStatusKicked'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMemberStatusKicked"}
```
Or, if you're into Lua:
```
chatMemberStatusKicked={_='chatMemberStatusKicked'}
```

View File

@ -19,25 +19,3 @@ User is not a chat member
### Type: [ChatMemberStatus](../types/ChatMemberStatus.md)
### Example:
```
$chatMemberStatusLeft = ['_' => 'chatMemberStatusLeft'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMemberStatusLeft"}
```
Or, if you're into Lua:
```
chatMemberStatusLeft={_='chatMemberStatusLeft'}
```

View File

@ -19,25 +19,3 @@ User is a member of the chat, but have no any additional privileges
### Type: [ChatMemberStatus](../types/ChatMemberStatus.md)
### Example:
```
$chatMemberStatusMember = ['_' => 'chatMemberStatusMember'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMemberStatusMember"}
```
Or, if you're into Lua:
```
chatMemberStatusMember={_='chatMemberStatusMember'}
```

View File

@ -19,25 +19,3 @@ Only for channels, member that can delete messages of unprivileged members and k
### Type: [ChatMemberStatus](../types/ChatMemberStatus.md)
### Example:
```
$chatMemberStatusModerator = ['_' => 'chatMemberStatusModerator'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMemberStatusModerator"}
```
Or, if you're into Lua:
```
chatMemberStatusModerator={_='chatMemberStatusModerator'}
```

View File

@ -21,25 +21,3 @@ Contains list of chat members
### Type: [ChatMembers](../types/ChatMembers.md)
### Example:
```
$chatMembers = ['_' => 'chatMembers', 'total_count' => int, 'members' => [chatMember]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatMembers", "total_count": int, "members": [chatMember]}
```
Or, if you're into Lua:
```
chatMembers={_='chatMembers', total_count=int, members={chatMember}}
```

View File

@ -21,25 +21,3 @@ Describes chat photo
### Type: [ChatPhoto](../types/ChatPhoto.md)
### Example:
```
$chatPhoto = ['_' => 'chatPhoto', 'small' => file, 'big' => file];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatPhoto", "small": file, "big": file}
```
Or, if you're into Lua:
```
chatPhoto={_='chatPhoto', small=file, big=file}
```

View File

@ -20,25 +20,3 @@ Contains information about chat report spam state
### Type: [ChatReportSpamState](../types/ChatReportSpamState.md)
### Example:
```
$chatReportSpamState = ['_' => 'chatReportSpamState', 'can_report_spam' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chatReportSpamState", "can_report_spam": Bool}
```
Or, if you're into Lua:
```
chatReportSpamState={_='chatReportSpamState', can_report_spam=Bool}
```

View File

@ -20,25 +20,3 @@ Contains list of chats
### Type: [Chats](../types/Chats.md)
### Example:
```
$chats = ['_' => 'chats', 'chats' => [chat]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "chats", "chats": [chat]}
```
Or, if you're into Lua:
```
chats={_='chats', chats={chat}}
```

View File

@ -23,25 +23,3 @@ Describes user contact
### Type: [Contact](../types/Contact.md)
### Example:
```
$contact = ['_' => 'contact', 'phone_number' => 'string', 'first_name' => 'string', 'last_name' => 'string', 'user_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "contact", "phone_number": "string", "first_name": "string", "last_name": "string", "user_id": int}
```
Or, if you're into Lua:
```
contact={_='contact', phone_number='string', first_name='string', last_name='string', user_id=int}
```

View File

@ -20,25 +20,3 @@ Contains list of device tokens
### Type: [DeviceTokenSet](../types/DeviceTokenSet.md)
### Example:
```
$deviceTokenSet = ['_' => 'deviceTokenSet', 'tokens' => [DeviceToken]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "deviceTokenSet", "tokens": [DeviceToken]}
```
Or, if you're into Lua:
```
deviceTokenSet={_='deviceTokenSet', tokens={DeviceToken}}
```

View File

@ -23,25 +23,3 @@ Describes document of any type
### Type: [Document](../types/Document.md)
### Example:
```
$document = ['_' => 'document', 'file_name' => 'string', 'mime_type' => 'string', 'thumb' => photoSize, 'document' => file];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "document", "file_name": "string", "mime_type": "string", "thumb": photoSize, "document": file}
```
Or, if you're into Lua:
```
document={_='document', file_name='string', mime_type='string', thumb=photoSize, document=file}
```

View File

@ -21,25 +21,3 @@ Contains information about draft of a message
### Type: [DraftMessage](../types/DraftMessage.md)
### Example:
```
$draftMessage = ['_' => 'draftMessage', 'reply_to_message_id' => long, 'input_message_text' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "draftMessage", "reply_to_message_id": long, "input_message_text": InputMessageContent}
```
Or, if you're into Lua:
```
draftMessage={_='draftMessage', reply_to_message_id=long, input_message_text=InputMessageContent}
```

View File

@ -21,25 +21,3 @@ Object of this type may be returned on every function call in case of the error
### Type: [Error](../types/Error.md)
### Example:
```
$error = ['_' => 'error', 'code' => int, 'message' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "error", "code": int, "message": "string"}
```
Or, if you're into Lua:
```
error={_='error', code=int, message='string'}
```

View File

@ -23,25 +23,3 @@ Represents a file
### Type: [File](../types/File.md)
### Example:
```
$file = ['_' => 'file', 'id' => int, 'persistent_id' => 'string', 'size' => int, 'path' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "file", "id": int, "persistent_id": "string", "size": int, "path": "string"}
```
Or, if you're into Lua:
```
file={_='file', id=int, persistent_id='string', size=int, path='string'}
```

View File

@ -27,25 +27,3 @@ Describes a game
### Type: [Game](../types/Game.md)
### Example:
```
$game = ['_' => 'game', 'id' => long, 'short_name' => 'string', 'title' => 'string', 'text' => 'string', 'text_entities' => [MessageEntity], 'description' => 'string', 'photo' => photo, 'animation' => animation];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "game", "id": long, "short_name": "string", "title": "string", "text": "string", "text_entities": [MessageEntity], "description": "string", "photo": photo, "animation": animation}
```
Or, if you're into Lua:
```
game={_='game', id=long, short_name='string', title='string', text='string', text_entities={MessageEntity}, description='string', photo=photo, animation=animation}
```

View File

@ -22,25 +22,3 @@ Contains one row of the game high scores table
### Type: [GameHighScore](../types/GameHighScore.md)
### Example:
```
$gameHighScore = ['_' => 'gameHighScore', 'position' => int, 'user_id' => int, 'score' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "gameHighScore", "position": int, "user_id": int, "score": int}
```
Or, if you're into Lua:
```
gameHighScore={_='gameHighScore', position=int, user_id=int, score=int}
```

View File

@ -20,25 +20,3 @@ Contains list of game high scores
### Type: [GameHighScores](../types/GameHighScores.md)
### Example:
```
$gameHighScores = ['_' => 'gameHighScores', 'scores' => [gameHighScore]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "gameHighScores", "scores": [gameHighScore]}
```
Or, if you're into Lua:
```
gameHighScores={_='gameHighScores', scores={gameHighScore}}
```

View File

@ -20,25 +20,3 @@ Token for GCM
### Type: [DeviceToken](../types/DeviceToken.md)
### Example:
```
$gcmDeviceToken = ['_' => 'gcmDeviceToken', 'token' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "gcmDeviceToken", "token": "string"}
```
Or, if you're into Lua:
```
gcmDeviceToken={_='gcmDeviceToken', token='string'}
```

View File

@ -25,25 +25,3 @@ Represents a group of zero or more other users
### Type: [Group](../types/Group.md)
### Example:
```
$group = ['_' => 'group', 'id' => int, 'member_count' => int, 'status' => ChatMemberStatus, 'anyone_can_edit' => Bool, 'is_active' => Bool, 'migrated_to_channel_id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "group", "id": int, "member_count": int, "status": ChatMemberStatus, "anyone_can_edit": Bool, "is_active": Bool, "migrated_to_channel_id": int}
```
Or, if you're into Lua:
```
group={_='group', id=int, member_count=int, status=ChatMemberStatus, anyone_can_edit=Bool, is_active=Bool, migrated_to_channel_id=int}
```

View File

@ -20,25 +20,3 @@ Chat with zero or more other users
### Type: [ChatInfo](../types/ChatInfo.md)
### Example:
```
$groupChatInfo = ['_' => 'groupChatInfo', 'group' => group];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "groupChatInfo", "group": group}
```
Or, if you're into Lua:
```
groupChatInfo={_='groupChatInfo', group=group}
```

View File

@ -23,25 +23,3 @@ Gives full information about a group
### Type: [GroupFull](../types/GroupFull.md)
### Example:
```
$groupFull = ['_' => 'groupFull', 'group' => group, 'creator_user_id' => int, 'members' => [chatMember], 'invite_link' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "groupFull", "group": group, "creator_user_id": int, "members": [chatMember], "invite_link": "string"}
```
Or, if you're into Lua:
```
groupFull={_='groupFull', group=group, creator_user_id=int, members={chatMember}, invite_link='string'}
```

View File

@ -21,25 +21,3 @@ Represents one button of the inline keyboard
### Type: [InlineKeyboardButton](../types/InlineKeyboardButton.md)
### Example:
```
$inlineKeyboardButton = ['_' => 'inlineKeyboardButton', 'text' => 'string', 'type' => InlineKeyboardButtonType];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineKeyboardButton", "text": "string", "type": InlineKeyboardButtonType}
```
Or, if you're into Lua:
```
inlineKeyboardButton={_='inlineKeyboardButton', text='string', type=InlineKeyboardButtonType}
```

View File

@ -20,25 +20,3 @@ A button which sends to the bot special callback query
### Type: [InlineKeyboardButtonType](../types/InlineKeyboardButtonType.md)
### Example:
```
$inlineKeyboardButtonTypeCallback = ['_' => 'inlineKeyboardButtonTypeCallback', 'data' => 'bytes'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineKeyboardButtonTypeCallback", "data": "bytes"}
```
Or, if you're into Lua:
```
inlineKeyboardButtonTypeCallback={_='inlineKeyboardButtonTypeCallback', data='bytes'}
```

View File

@ -19,25 +19,3 @@ A button with a game which sends to the bot special callback query, must be in t
### Type: [InlineKeyboardButtonType](../types/InlineKeyboardButtonType.md)
### Example:
```
$inlineKeyboardButtonTypeCallbackGame = ['_' => 'inlineKeyboardButtonTypeCallbackGame'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineKeyboardButtonTypeCallbackGame"}
```
Or, if you're into Lua:
```
inlineKeyboardButtonTypeCallbackGame={_='inlineKeyboardButtonTypeCallbackGame'}
```

View File

@ -21,25 +21,3 @@ A button which forces inline query to the bot to be substitued in the input fiel
### Type: [InlineKeyboardButtonType](../types/InlineKeyboardButtonType.md)
### Example:
```
$inlineKeyboardButtonTypeSwitchInline = ['_' => 'inlineKeyboardButtonTypeSwitchInline', 'query' => 'string', 'in_current_chat' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineKeyboardButtonTypeSwitchInline", "query": "string", "in_current_chat": Bool}
```
Or, if you're into Lua:
```
inlineKeyboardButtonTypeSwitchInline={_='inlineKeyboardButtonTypeSwitchInline', query='string', in_current_chat=Bool}
```

View File

@ -20,25 +20,3 @@ A button which opens the specified URL
### Type: [InlineKeyboardButtonType](../types/InlineKeyboardButtonType.md)
### Example:
```
$inlineKeyboardButtonTypeUrl = ['_' => 'inlineKeyboardButtonTypeUrl', 'url' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineKeyboardButtonTypeUrl", "url": "string"}
```
Or, if you're into Lua:
```
inlineKeyboardButtonTypeUrl={_='inlineKeyboardButtonTypeUrl', url='string'}
```

View File

@ -22,25 +22,3 @@ Represents an animation cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultAnimation = ['_' => 'inlineQueryResultAnimation', 'id' => 'string', 'animation' => animation, 'title' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultAnimation", "id": "string", "animation": animation, "title": "string"}
```
Or, if you're into Lua:
```
inlineQueryResultAnimation={_='inlineQueryResultAnimation', id='string', animation=animation, title='string'}
```

View File

@ -27,25 +27,3 @@ Represents link to an article or web page
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultArticle = ['_' => 'inlineQueryResultArticle', 'id' => 'string', 'url' => 'string', 'hide_url' => Bool, 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultArticle", "id": "string", "url": "string", "hide_url": Bool, "title": "string", "description": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int}
```
Or, if you're into Lua:
```
inlineQueryResultArticle={_='inlineQueryResultArticle', id='string', url='string', hide_url=Bool, title='string', description='string', thumb_url='string', thumb_width=int, thumb_height=int}
```

View File

@ -21,25 +21,3 @@ Represents an audio cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultAudio = ['_' => 'inlineQueryResultAudio', 'id' => 'string', 'audio' => audio];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultAudio", "id": "string", "audio": audio}
```
Or, if you're into Lua:
```
inlineQueryResultAudio={_='inlineQueryResultAudio', id='string', audio=audio}
```

View File

@ -24,25 +24,3 @@ Represents user contact
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultContact = ['_' => 'inlineQueryResultContact', 'id' => 'string', 'contact' => contact, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultContact", "id": "string", "contact": contact, "thumb_url": "string", "thumb_width": int, "thumb_height": int}
```
Or, if you're into Lua:
```
inlineQueryResultContact={_='inlineQueryResultContact', id='string', contact=contact, thumb_url='string', thumb_width=int, thumb_height=int}
```

View File

@ -23,25 +23,3 @@ Represents a document cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultDocument = ['_' => 'inlineQueryResultDocument', 'id' => 'string', 'document' => document, 'title' => 'string', 'description' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultDocument", "id": "string", "document": document, "title": "string", "description": "string"}
```
Or, if you're into Lua:
```
inlineQueryResultDocument={_='inlineQueryResultDocument', id='string', document=document, title='string', description='string'}
```

View File

@ -21,25 +21,3 @@ Represents information about a game
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultGame = ['_' => 'inlineQueryResultGame', 'id' => 'string', 'game' => game];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultGame", "id": "string", "game": game}
```
Or, if you're into Lua:
```
inlineQueryResultGame={_='inlineQueryResultGame', id='string', game=game}
```

View File

@ -25,25 +25,3 @@ Represents a point on the map
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultLocation = ['_' => 'inlineQueryResultLocation', 'id' => 'string', 'location' => location, 'title' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultLocation", "id": "string", "location": location, "title": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int}
```
Or, if you're into Lua:
```
inlineQueryResultLocation={_='inlineQueryResultLocation', id='string', location=location, title='string', thumb_url='string', thumb_width=int, thumb_height=int}
```

View File

@ -23,25 +23,3 @@ Represents a photo cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultPhoto = ['_' => 'inlineQueryResultPhoto', 'id' => 'string', 'photo' => photo, 'title' => 'string', 'description' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultPhoto", "id": "string", "photo": photo, "title": "string", "description": "string"}
```
Or, if you're into Lua:
```
inlineQueryResultPhoto={_='inlineQueryResultPhoto', id='string', photo=photo, title='string', description='string'}
```

View File

@ -21,25 +21,3 @@ Represents a sticker cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultSticker = ['_' => 'inlineQueryResultSticker', 'id' => 'string', 'sticker' => sticker];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultSticker", "id": "string", "sticker": sticker}
```
Or, if you're into Lua:
```
inlineQueryResultSticker={_='inlineQueryResultSticker', id='string', sticker=sticker}
```

View File

@ -24,25 +24,3 @@ Represents information about a venue
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultVenue = ['_' => 'inlineQueryResultVenue', 'id' => 'string', 'venue' => venue, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultVenue", "id": "string", "venue": venue, "thumb_url": "string", "thumb_width": int, "thumb_height": int}
```
Or, if you're into Lua:
```
inlineQueryResultVenue={_='inlineQueryResultVenue', id='string', venue=venue, thumb_url='string', thumb_width=int, thumb_height=int}
```

View File

@ -23,25 +23,3 @@ Represents a video cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultVideo = ['_' => 'inlineQueryResultVideo', 'id' => 'string', 'video' => video, 'title' => 'string', 'description' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultVideo", "id": "string", "video": video, "title": "string", "description": "string"}
```
Or, if you're into Lua:
```
inlineQueryResultVideo={_='inlineQueryResultVideo', id='string', video=video, title='string', description='string'}
```

View File

@ -22,25 +22,3 @@ Represents a voice cached on the telegram server
### Type: [InlineQueryResult](../types/InlineQueryResult.md)
### Example:
```
$inlineQueryResultVoice = ['_' => 'inlineQueryResultVoice', 'id' => 'string', 'voice' => voice, 'title' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResultVoice", "id": "string", "voice": voice, "title": "string"}
```
Or, if you're into Lua:
```
inlineQueryResultVoice={_='inlineQueryResultVoice', id='string', voice=voice, title='string'}
```

View File

@ -24,25 +24,3 @@ Represents results of the inline query. Use sendInlineQueryResultMessage to send
### Type: [InlineQueryResults](../types/InlineQueryResults.md)
### Example:
```
$inlineQueryResults = ['_' => 'inlineQueryResults', 'inline_query_id' => long, 'next_offset' => 'string', 'results' => [InlineQueryResult], 'switch_pm_text' => 'string', 'switch_pm_parameter' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inlineQueryResults", "inline_query_id": long, "next_offset": "string", "results": [InlineQueryResult], "switch_pm_text": "string", "switch_pm_parameter": "string"}
```
Or, if you're into Lua:
```
inlineQueryResults={_='inlineQueryResults', inline_query_id=long, next_offset='string', results={InlineQueryResult}, switch_pm_text='string', switch_pm_parameter='string'}
```

View File

@ -23,25 +23,3 @@ File generated by the client
### Type: [InputFile](../types/InputFile.md)
### Example:
```
$inputFileGenerated = ['_' => 'inputFileGenerated', 'original_path' => 'string', 'conversion' => 'string', 'expected_size' => int, 'should_cache' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputFileGenerated", "original_path": "string", "conversion": "string", "expected_size": int, "should_cache": Bool}
```
Or, if you're into Lua:
```
inputFileGenerated={_='inputFileGenerated', original_path='string', conversion='string', expected_size=int, should_cache=Bool}
```

View File

@ -20,25 +20,3 @@ File defined by its id
### Type: [InputFile](../types/InputFile.md)
### Example:
```
$inputFileId = ['_' => 'inputFileId', 'id' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputFileId", "id": int}
```
Or, if you're into Lua:
```
inputFileId={_='inputFileId', id=int}
```

View File

@ -20,25 +20,3 @@ File deifned by local path
### Type: [InputFile](../types/InputFile.md)
### Example:
```
$inputFileLocal = ['_' => 'inputFileLocal', 'path' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputFileLocal", "path": "string"}
```
Or, if you're into Lua:
```
inputFileLocal={_='inputFileLocal', path='string'}
```

View File

@ -20,25 +20,3 @@ File defined by its persistent id
### Type: [InputFile](../types/InputFile.md)
### Example:
```
$inputFilePersistentId = ['_' => 'inputFilePersistentId', 'persistent_id' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputFilePersistentId", "persistent_id": "string"}
```
Or, if you're into Lua:
```
inputFilePersistentId={_='inputFilePersistentId', persistent_id='string'}
```

View File

@ -27,31 +27,3 @@ Represents link to an animated gif
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultAnimatedGif = ['_' => 'inputInlineQueryResultAnimatedGif', 'id' => 'string', 'title' => 'string', 'thumb_url' => 'string', 'gif_url' => 'string', 'gif_width' => int, 'gif_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultAnimatedGif", "id": "string", "title": "string", "thumb_url": "string", "gif_url": "string", "gif_width": int, "gif_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultAnimatedGif={_='inputInlineQueryResultAnimatedGif', id='string', title='string', thumb_url='string', gif_url='string', gif_width=int, gif_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -27,31 +27,3 @@ Represents link to an animated (i.e. without sound) H.264/MPEG-4 AVC video
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultAnimatedMpeg4 = ['_' => 'inputInlineQueryResultAnimatedMpeg4', 'id' => 'string', 'title' => 'string', 'thumb_url' => 'string', 'mpeg4_url' => 'string', 'mpeg4_width' => int, 'mpeg4_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultAnimatedMpeg4", "id": "string", "title": "string", "thumb_url": "string", "mpeg4_url": "string", "mpeg4_width": int, "mpeg4_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultAnimatedMpeg4={_='inputInlineQueryResultAnimatedMpeg4', id='string', title='string', thumb_url='string', mpeg4_url='string', mpeg4_width=int, mpeg4_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -29,31 +29,3 @@ Represents link to an article or web page
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultArticle = ['_' => 'inputInlineQueryResultArticle', 'id' => 'string', 'url' => 'string', 'hide_url' => Bool, 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultArticle", "id": "string", "url": "string", "hide_url": Bool, "title": "string", "description": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultArticle={_='inputInlineQueryResultArticle', id='string', url='string', hide_url=Bool, title='string', description='string', thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -26,31 +26,3 @@ Represents link to a mp3 audio file
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultAudio = ['_' => 'inputInlineQueryResultAudio', 'id' => 'string', 'title' => 'string', 'performer' => 'string', 'audio_url' => 'string', 'audio_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultAudio", "id": "string", "title": "string", "performer": "string", "audio_url": "string", "audio_duration": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultAudio={_='inputInlineQueryResultAudio', id='string', title='string', performer='string', audio_url='string', audio_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -26,31 +26,3 @@ Represents user contact
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultContact = ['_' => 'inputInlineQueryResultContact', 'id' => 'string', 'contact' => contact, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultContact", "id": "string", "contact": contact, "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultContact={_='inputInlineQueryResultContact', id='string', contact=contact, thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -29,31 +29,3 @@ Represents link to a file
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultDocument = ['_' => 'inputInlineQueryResultDocument', 'id' => 'string', 'title' => 'string', 'description' => 'string', 'document_url' => 'string', 'mime_type' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultDocument", "id": "string", "title": "string", "description": "string", "document_url": "string", "mime_type": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultDocument={_='inputInlineQueryResultDocument', id='string', title='string', description='string', document_url='string', mime_type='string', thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -22,31 +22,3 @@ Represents a game
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultGame = ['_' => 'inputInlineQueryResultGame', 'id' => 'string', 'game_short_name' => 'string', 'reply_markup' => ReplyMarkup];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultGame", "id": "string", "game_short_name": "string", "reply_markup": ReplyMarkup}
```
Or, if you're into Lua:
```
inputInlineQueryResultGame={_='inputInlineQueryResultGame', id='string', game_short_name='string', reply_markup=ReplyMarkup}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -27,31 +27,3 @@ Represents a point on the map
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultLocation = ['_' => 'inputInlineQueryResultLocation', 'id' => 'string', 'location' => location, 'title' => 'string', 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultLocation", "id": "string", "location": location, "title": "string", "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultLocation={_='inputInlineQueryResultLocation', id='string', location=location, title='string', thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -28,31 +28,3 @@ Represents link to a jpeg photo
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultPhoto = ['_' => 'inputInlineQueryResultPhoto', 'id' => 'string', 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'photo_url' => 'string', 'photo_width' => int, 'photo_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultPhoto", "id": "string", "title": "string", "description": "string", "thumb_url": "string", "photo_url": "string", "photo_width": int, "photo_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultPhoto={_='inputInlineQueryResultPhoto', id='string', title='string', description='string', thumb_url='string', photo_url='string', photo_width=int, photo_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -26,31 +26,3 @@ Represents link to a webp sticker
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultSticker = ['_' => 'inputInlineQueryResultSticker', 'id' => 'string', 'thumb_url' => 'string', 'sticker_url' => 'string', 'sticker_width' => int, 'sticker_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultSticker", "id": "string", "thumb_url": "string", "sticker_url": "string", "sticker_width": int, "sticker_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultSticker={_='inputInlineQueryResultSticker', id='string', thumb_url='string', sticker_url='string', sticker_width=int, sticker_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -26,31 +26,3 @@ Represents information about a venue
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultVenue = ['_' => 'inputInlineQueryResultVenue', 'id' => 'string', 'venue' => venue, 'thumb_url' => 'string', 'thumb_width' => int, 'thumb_height' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultVenue", "id": "string", "venue": venue, "thumb_url": "string", "thumb_width": int, "thumb_height": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultVenue={_='inputInlineQueryResultVenue', id='string', venue=venue, thumb_url='string', thumb_width=int, thumb_height=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -30,31 +30,3 @@ Represents link to a page containing an embedded video player or a video file
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultVideo = ['_' => 'inputInlineQueryResultVideo', 'id' => 'string', 'title' => 'string', 'description' => 'string', 'thumb_url' => 'string', 'video_url' => 'string', 'mime_type' => 'string', 'video_width' => int, 'video_height' => int, 'video_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultVideo", "id": "string", "title": "string", "description": "string", "thumb_url": "string", "video_url": "string", "mime_type": "string", "video_width": int, "video_height": int, "video_duration": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultVideo={_='inputInlineQueryResultVideo', id='string', title='string', description='string', thumb_url='string', video_url='string', mime_type='string', video_width=int, video_height=int, video_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -25,31 +25,3 @@ Represents link to a opus encoded audio file in ogg container
### Type: [InputInlineQueryResult](../types/InputInlineQueryResult.md)
### Example:
```
$inputInlineQueryResultVoice = ['_' => 'inputInlineQueryResultVoice', 'id' => 'string', 'title' => 'string', 'voice_url' => 'string', 'voice_duration' => int, 'reply_markup' => ReplyMarkup, 'input_message_content' => InputMessageContent];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputInlineQueryResultVoice", "id": "string", "title": "string", "voice_url": "string", "voice_duration": int, "reply_markup": ReplyMarkup, "input_message_content": InputMessageContent}
```
Or, if you're into Lua:
```
inputInlineQueryResultVoice={_='inputInlineQueryResultVoice', id='string', title='string', voice_url='string', voice_duration=int, reply_markup=ReplyMarkup, input_message_content=InputMessageContent}
```
## Usage of reply_markup
You can provide bot API reply_markup objects here.

View File

@ -24,25 +24,3 @@ Animation message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageAnimation = ['_' => 'inputMessageAnimation', 'animation' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int, 'caption' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageAnimation", "animation": InputFile, "thumb": InputThumb, "width": int, "height": int, "caption": "string"}
```
Or, if you're into Lua:
```
inputMessageAnimation={_='inputMessageAnimation', animation=InputFile, thumb=InputThumb, width=int, height=int, caption='string'}
```

View File

@ -25,25 +25,3 @@ Audio message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageAudio = ['_' => 'inputMessageAudio', 'audio' => InputFile, 'album_cover_thumb' => InputThumb, 'duration' => int, 'title' => 'string', 'performer' => 'string', 'caption' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageAudio", "audio": InputFile, "album_cover_thumb": InputThumb, "duration": int, "title": "string", "performer": "string", "caption": "string"}
```
Or, if you're into Lua:
```
inputMessageAudio={_='inputMessageAudio', audio=InputFile, album_cover_thumb=InputThumb, duration=int, title='string', performer='string', caption='string'}
```

View File

@ -20,25 +20,3 @@ User contact message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageContact = ['_' => 'inputMessageContact', 'contact' => contact];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageContact", "contact": contact}
```
Or, if you're into Lua:
```
inputMessageContact={_='inputMessageContact', contact=contact}
```

View File

@ -22,25 +22,3 @@ Document message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageDocument = ['_' => 'inputMessageDocument', 'document' => InputFile, 'thumb' => InputThumb, 'caption' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageDocument", "document": InputFile, "thumb": InputThumb, "caption": "string"}
```
Or, if you're into Lua:
```
inputMessageDocument={_='inputMessageDocument', document=InputFile, thumb=InputThumb, caption='string'}
```

View File

@ -22,25 +22,3 @@ Forwarded message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageForwarded = ['_' => 'inputMessageForwarded', 'from_chat_id' => long, 'message_id' => long, 'in_game_share' => Bool];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageForwarded", "from_chat_id": long, "message_id": long, "in_game_share": Bool}
```
Or, if you're into Lua:
```
inputMessageForwarded={_='inputMessageForwarded', from_chat_id=long, message_id=long, in_game_share=Bool}
```

View File

@ -21,25 +21,3 @@ Message with a game, can't be used in broadcast channels and secret chats
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageGame = ['_' => 'inputMessageGame', 'bot_user_id' => int, 'game_short_name' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageGame", "bot_user_id": int, "game_short_name": "string"}
```
Or, if you're into Lua:
```
inputMessageGame={_='inputMessageGame', bot_user_id=int, game_short_name='string'}
```

View File

@ -20,25 +20,3 @@ Message with location
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageLocation = ['_' => 'inputMessageLocation', 'location' => location];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageLocation", "location": location}
```
Or, if you're into Lua:
```
inputMessageLocation={_='inputMessageLocation', location=location}
```

View File

@ -25,25 +25,3 @@ Photo message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessagePhoto = ['_' => 'inputMessagePhoto', 'photo' => InputFile, 'thumb' => InputThumb, 'added_sticker_file_ids' => [int], 'width' => int, 'height' => int, 'caption' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessagePhoto", "photo": InputFile, "thumb": InputThumb, "added_sticker_file_ids": [int], "width": int, "height": int, "caption": "string"}
```
Or, if you're into Lua:
```
inputMessagePhoto={_='inputMessagePhoto', photo=InputFile, thumb=InputThumb, added_sticker_file_ids={int}, width=int, height=int, caption='string'}
```

View File

@ -23,25 +23,3 @@ Sticker message
### Type: [InputMessageContent](../types/InputMessageContent.md)
### Example:
```
$inputMessageSticker = ['_' => 'inputMessageSticker', 'sticker' => InputFile, 'thumb' => InputThumb, 'width' => int, 'height' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "inputMessageSticker", "sticker": InputFile, "thumb": InputThumb, "width": int, "height": int}
```
Or, if you're into Lua:
```
inputMessageSticker={_='inputMessageSticker', sticker=InputFile, thumb=InputThumb, width=int, height=int}
```

Some files were not shown because too many files have changed in this diff Show More