AMP fixes

This commit is contained in:
Daniil Gentili 2017-08-20 15:35:23 +00:00
parent d0b9ab9255
commit b00880cf82
14 changed files with 14 additions and 14 deletions

View File

@ -9,7 +9,7 @@ description: chat attributes, type and example
### Attributes:
| Name | Type | Required |Description|
|----------|:-------------:|:--------:|----------:|
|----------|---------------|----------|-----------|
|type|[string](API_docs/types/string.md) | Yes|bot, user, channel, supergroup or chat|
|id|[long](API_docs/types/long.md) | Yes|bot API chat id|
|access\_hash|[long](API_docs/types/long.md) | Optional|access hash of peer|

View File

@ -9,7 +9,7 @@ description: chat attributes, type and example
### Attributes:
| Name | Type | Required |Description|
|----------|:-------------:|:--------:|----------:|
|----------|---------------|----------|-----------|
|partial|[Info](Info.md) | Yes|Info object|
|last_update|[int](API_docs/types/int.md) | Yes|unixdate|
|full|[ChatFull](API_docs/types/ChatFull.md) or [UserFull](API_docs/types/UserFull.md) | Yes|full info|

View File

@ -9,7 +9,7 @@ description: chat attributes, type and example
### Attributes:
| Name | Type | Required |Description|
|----------|:-------------:|:--------:|----------:|
|----------|---------------|----------|-----------|
|type|[string](API_docs/types/string.md) | Yes|bot, user, channel, supergroup or chat|
|bot\_api\_id|[long](API_docs/types/long.md) | Yes|bot API chat id|
|InputPeer|[InputPeer](API_docs/types/InputPeer.md) | Yes|InputPeer object|

View File

@ -9,7 +9,7 @@ description: PWRTelegram participant attributes, type and example
### Attributes:
| Name | Type | Required | Description|
|----------|:-------------:|:--------:|-----------:|
|----------|---------------|----------|------------|
|user|[Chat](Chat.md) | Yes| The participant|
|inviter|[Chat](Chat.md) | Optional|The user that invited this participant|
|promoted_by|[Chat](Chat.md) | Optional|The user that promoted this participant|

View File

@ -8,7 +8,7 @@ description: bot_login parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|token| A string with the bot token|
### Return type: [auth.Authorization](API_docs/types/auth_Authorization.md)

View File

@ -8,7 +8,7 @@ description: complete_2FA_login parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|password| A string with the password|
### Return type: [auth.Authorization](API_docs/types/auth_Authorization.md)

View File

@ -8,7 +8,7 @@ description: complete_phone_login parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|code| A string with the phone code|
### Return type: [auth.Authorization](API_docs/types/auth_Authorization.md) or [account.Password](http://docs.madelineproto.xyz/API_docs/types/account_Password.html) or `['_' => 'account.needSignup']`

View File

@ -8,7 +8,7 @@ description: complete_signup parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|first_name| A string with the first name|
|last_name| Optional, string with the last name|

View File

@ -8,7 +8,7 @@ description: get_dialogs parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
### Return type: Array of [Peer objects](API_docs/types/Peer.md)

View File

@ -8,7 +8,7 @@ description: get_full_info parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.md), a [User](API_docs/types/User.md), an [InputPeer](API_docs/types/InputPeer.md), an [InputUser](API_docs/types/InputUser.md), an [InputChannel](API_docs/types/InputChannel.md), a [Peer](API_docs/types/Peer.md), or a [Chat](API_docs/types/Chat.md) object|
### Return type: [FullInfo](FullInfo.md)

View File

@ -8,7 +8,7 @@ description: get_info parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.md), a [User](API_docs/types/User.md), an [InputPeer](API_docs/types/InputPeer.md), an [InputUser](API_docs/types/InputUser.md), an [InputChannel](API_docs/types/InputChannel.md), a [Peer](API_docs/types/Peer.md), or a [Chat](API_docs/types/Chat.md) object|
### Return type: [Info](Info.md)

View File

@ -8,7 +8,7 @@ description: get_pwr_chat parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|id| A username, a bot API chat id, a tg-cli chat id, a [Chat](API_docs/types/Chat.md), a [User](API_docs/types/User.md), an [InputPeer](API_docs/types/InputPeer.md), an [InputUser](API_docs/types/InputUser.md), an [InputChannel](API_docs/types/InputChannel.md), a [Peer](API_docs/types/Peer.md), or a [Chat](API_docs/types/Chat.md) object|
|fullfetch| Optional, a boolean that if set to true (the default) fetches full info (chat photo, invite link, bot info, common_chats_count, phone_calls_available, phone_calls_private, can_set_username, can_view_participants, participants)|

View File

@ -8,7 +8,7 @@ description: get_self parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
### Return type: [User objects](API_docs/types/User.md)

View File

@ -8,7 +8,7 @@ description: phone_login parameters, return type and example
### Parameters:
| Name | Type |
|----------|:-------------:|
|----------|---------------|
|number| A string with the phone number, including the country code|
### Return type: [auth.SentCode](API_docs/types/auth_SentCode.md)