AMP fixes
This commit is contained in:
parent
d0b9ab9255
commit
b00880cf82
@ -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|
|
||||
|
@ -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|
|
||||
|
@ -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|
|
||||
|
@ -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|
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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']`
|
||||
|
@ -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|
|
||||
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)|
|
||||
|
||||
|
@ -8,7 +8,7 @@ description: get_self parameters, return type and example
|
||||
### Parameters:
|
||||
|
||||
| Name | Type |
|
||||
|----------|:-------------:|
|
||||
|----------|---------------|
|
||||
|
||||
### Return type: [User objects](API_docs/types/User.md)
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user