Improve docs
This commit is contained in:
parent
9e83df1629
commit
253b80f29c
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.wallPapers
|
||||
description: account_wallPapers attributes, type and example
|
||||
description: Wallpapers
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.wallPapers
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Wallpapers
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|hash|[int](../types/int.md) | Yes|
|
||||
|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|hash|[int](../types/int.md) | Yes|Hash|
|
||||
|wallpapers|Array of [WallPaper](../types/WallPaper.md) | Yes|Wallpapers|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: account.wallPapersNotModified
|
||||
description: account_wallPapersNotModified attributes, type and example
|
||||
description: No wallpapers were modified
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: account.wallPapersNotModified
|
||||
@ -8,6 +8,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
No wallpapers were modified
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -30,9 +30,9 @@ Channel
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|version|[int](../types/int.md) | Yes|Version|
|
||||
|restriction\_reason|[string](../types/string.md) | Optional|Restriction reason|
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Optional||
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional||
|
||||
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional||
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Optional|Admin rights of current user|
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional|Banned rights of current user|
|
||||
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional|Global chat banned rights|
|
||||
|participants\_count|[int](../types/int.md) | Optional|Participants count|
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionDefaultBannedRights
|
||||
description: channelAdminLogEventActionDefaultBannedRights attributes, type and example
|
||||
description: Changed global chat rights
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionDefaultBannedRights
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Changed global chat rights
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|prev\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|
|
||||
|new\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|prev\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|Previous Banned rights of current user|
|
||||
|new\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|New Banned rights of current user|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelAdminLogEventActionStopPoll
|
||||
description: channelAdminLogEventActionStopPoll attributes, type and example
|
||||
description: Stopped poll
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelAdminLogEventActionStopPoll
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Stopped poll
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|message|[Message](../types/Message.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|message|[Message](../types/Message.md) | Optional|Message|
|
||||
|
||||
|
||||
|
||||
|
@ -15,12 +15,12 @@ Channel participant admin
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|can\_edit|[Bool](../types/Bool.md) | Optional|Can edit?|
|
||||
|self|[Bool](../types/Bool.md) | Optional||
|
||||
|self|[Bool](../types/Bool.md) | Optional|Is this the current user?|
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|inviter\_id|[int](../types/int.md) | Optional|Inviter ID|
|
||||
|promoted\_by|[int](../types/int.md) | Yes|Promoted by|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Yes||
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Yes|Admin rights|
|
||||
|
||||
|
||||
|
||||
|
@ -18,7 +18,7 @@ Channel participant banned
|
||||
|user\_id|[int](../types/int.md) | Yes|User ID|
|
||||
|kicked\_by|[int](../types/int.md) | Yes|Kicked by|
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes||
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|Banned rights|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: channelParticipantsContacts
|
||||
description: channelParticipantsContacts attributes, type and example
|
||||
description: Contacts
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: channelParticipantsContacts
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Contacts
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|q|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|q|[string](../types/string.md) | Yes|Query|
|
||||
|
||||
|
||||
|
||||
|
@ -25,8 +25,8 @@ Chat
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|version|[int](../types/int.md) | Yes|Version|
|
||||
|migrated\_to|[InputChannel](../types/InputChannel.md) | Optional|Migrated to|
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Optional||
|
||||
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional||
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Optional|Admin rights of current user|
|
||||
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Optional|Global chat banned rights|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatAdminRights
|
||||
description: chatAdminRights attributes, type and example
|
||||
description: Admin rights
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatAdminRights
|
||||
@ -8,18 +8,20 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Admin rights
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|change\_info|[Bool](../types/Bool.md) | Optional|
|
||||
|post\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|edit\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|delete\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|ban\_users|[Bool](../types/Bool.md) | Optional|
|
||||
|invite\_users|[Bool](../types/Bool.md) | Optional|
|
||||
|pin\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|add\_admins|[Bool](../types/Bool.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|change\_info|[Bool](../types/Bool.md) | Optional|Can change info?|
|
||||
|post\_messages|[Bool](../types/Bool.md) | Optional|Can post messages?|
|
||||
|edit\_messages|[Bool](../types/Bool.md) | Optional|Can edit messages?|
|
||||
|delete\_messages|[Bool](../types/Bool.md) | Optional|Can delete messages?|
|
||||
|ban\_users|[Bool](../types/Bool.md) | Optional|Can ban users?|
|
||||
|invite\_users|[Bool](../types/Bool.md) | Optional|Can invite users?|
|
||||
|pin\_messages|[Bool](../types/Bool.md) | Optional|Can pin messages?|
|
||||
|add\_admins|[Bool](../types/Bool.md) | Optional|Can add other admins?|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: chatBannedRights
|
||||
description: chatBannedRights attributes, type and example
|
||||
description: Banned rights (when true, the user will NOT be able to do that thing)
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: chatBannedRights
|
||||
@ -8,23 +8,25 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Banned rights (when true, the user will NOT be able to do that thing)
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|view\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_media|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_stickers|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_gifs|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_games|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_inline|[Bool](../types/Bool.md) | Optional|
|
||||
|embed\_links|[Bool](../types/Bool.md) | Optional|
|
||||
|send\_polls|[Bool](../types/Bool.md) | Optional|
|
||||
|change\_info|[Bool](../types/Bool.md) | Optional|
|
||||
|invite\_users|[Bool](../types/Bool.md) | Optional|
|
||||
|pin\_messages|[Bool](../types/Bool.md) | Optional|
|
||||
|until\_date|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|view\_messages|[Bool](../types/Bool.md) | Optional|Can view messages?|
|
||||
|send\_messages|[Bool](../types/Bool.md) | Optional|Can send messages?|
|
||||
|send\_media|[Bool](../types/Bool.md) | Optional|Can send media?|
|
||||
|send\_stickers|[Bool](../types/Bool.md) | Optional|Can send stickers?|
|
||||
|send\_gifs|[Bool](../types/Bool.md) | Optional|Can send gifs?|
|
||||
|send\_games|[Bool](../types/Bool.md) | Optional|Can send games?|
|
||||
|send\_inline|[Bool](../types/Bool.md) | Optional|Can use inline bots?|
|
||||
|embed\_links|[Bool](../types/Bool.md) | Optional|Can embed links?|
|
||||
|send\_polls|[Bool](../types/Bool.md) | Optional|Can send polls?|
|
||||
|change\_info|[Bool](../types/Bool.md) | Optional|Can change info?|
|
||||
|invite\_users|[Bool](../types/Bool.md) | Optional|Can invite users?|
|
||||
|pin\_messages|[Bool](../types/Bool.md) | Optional|Can pin messages?|
|
||||
|until\_date|[int](../types/int.md) | Yes|Until date (0 = forever)|
|
||||
|
||||
|
||||
|
||||
|
@ -14,9 +14,9 @@ Chat full
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|can\_set\_username|[Bool](../types/Bool.md) | Optional||
|
||||
|can\_set\_username|[Bool](../types/Bool.md) | Optional|Can set username?|
|
||||
|id|[int](../types/int.md) | Yes|ID|
|
||||
|about|[string](../types/string.md) | Yes||
|
||||
|about|[string](../types/string.md) | Yes|Chat about|
|
||||
|participants|[ChatParticipants](../types/ChatParticipants.md) | Yes|Participants|
|
||||
|chat\_photo|[Photo](../types/Photo.md) | Optional|Chat photo|
|
||||
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Yes|Notify settings|
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: codeSettings
|
||||
description: codeSettings attributes, type and example
|
||||
description: Code settings
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: codeSettings
|
||||
@ -8,14 +8,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Code settings
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|
|
||||
|current\_number|[Bool](../types/Bool.md) | Optional|
|
||||
|app\_hash\_persistent|[Bool](../types/Bool.md) | Optional|
|
||||
|app\_hash|[string](../types/string.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|allow\_flashcall|[Bool](../types/Bool.md) | Optional|Allow flashcal?|
|
||||
|current\_number|[Bool](../types/Bool.md) | Optional|Current number?|
|
||||
|app\_hash\_persistent|[Bool](../types/Bool.md) | Optional|Persistent hash?|
|
||||
|app\_hash|[string](../types/string.md) | Optional|Hash type|
|
||||
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@ Document
|
||||
|date|[int](../types/int.md) | Yes|Date|
|
||||
|mime\_type|[string](../types/string.md) | Yes|Mime type|
|
||||
|size|[int](../types/int.md) | Yes|Size|
|
||||
|thumbs|Array of [PhotoSize](../types/PhotoSize.md) | Optional||
|
||||
|thumbs|Array of [PhotoSize](../types/PhotoSize.md) | Optional|Thumbnails|
|
||||
|dc\_id|[int](../types/int.md) | Yes|DC ID|
|
||||
|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Yes|Attributes|
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: inputWallPaper
|
||||
description: inputWallPaper attributes, type and example
|
||||
description: Wallpaper
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputWallPaper
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Wallpaper
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|id|[long](../types/long.md) | Yes|
|
||||
|access\_hash|[long](../types/long.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[long](../types/long.md) | Yes|ID|
|
||||
|access\_hash|[long](../types/long.md) | Yes|Access hash|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: inputWallPaperSlug
|
||||
description: inputWallPaperSlug attributes, type and example
|
||||
description: Wallpaper slug
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: inputWallPaperSlug
|
||||
@ -8,11 +8,13 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Wallpaper slug
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|slug|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|slug|[string](../types/string.md) | Yes|Type|
|
||||
|
||||
|
||||
|
||||
|
@ -14,7 +14,7 @@ Messages slice
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|inexact|[Bool](../types/Bool.md) | Optional||
|
||||
|inexact|[Bool](../types/Bool.md) | Optional|Inexact?|
|
||||
|count|[int](../types/int.md) | Yes|Count|
|
||||
|messages|Array of [Message](../types/Message.md) | Yes|Messages|
|
||||
|chats|Array of [Chat](../types/Chat.md) | Yes|Chats|
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: photoStrippedSize
|
||||
description: photoStrippedSize attributes, type and example
|
||||
description: Stripped size
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: photoStrippedSize
|
||||
@ -8,12 +8,14 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Stripped size
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|type|[string](../types/string.md) | Yes|
|
||||
|bytes|[bytes](../types/bytes.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|type|[string](../types/string.md) | Yes|Stripped size|
|
||||
|bytes|[bytes](../types/bytes.md) | Yes|Bytes|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: updateChatDefaultBannedRights
|
||||
description: updateChatDefaultBannedRights attributes, type and example
|
||||
description: Global chat rights updated
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: updateChatDefaultBannedRights
|
||||
@ -8,13 +8,15 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Global chat rights updated
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[Peer](../types/Peer.md) | Yes|
|
||||
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|
|
||||
|version|[int](../types/int.md) | Yes|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|peer|[Peer](../types/Peer.md) | Yes|Peer|
|
||||
|default\_banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|Global chat rights|
|
||||
|version|[int](../types/int.md) | Yes|Version|
|
||||
|
||||
|
||||
|
||||
|
@ -14,15 +14,15 @@ Wall paper
|
||||
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|id|[long](../types/long.md) | Yes||
|
||||
|creator|[Bool](../types/Bool.md) | Optional||
|
||||
|default|[Bool](../types/Bool.md) | Optional||
|
||||
|pattern|[Bool](../types/Bool.md) | Optional||
|
||||
|dark|[Bool](../types/Bool.md) | Optional||
|
||||
|access\_hash|[long](../types/long.md) | Yes||
|
||||
|slug|[string](../types/string.md) | Yes||
|
||||
|document|[Document](../types/Document.md) | Optional||
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Optional||
|
||||
|id|[long](../types/long.md) | Yes|ID|
|
||||
|creator|[Bool](../types/Bool.md) | Optional|Am I the creator?|
|
||||
|default|[Bool](../types/Bool.md) | Optional|Default?|
|
||||
|pattern|[Bool](../types/Bool.md) | Optional|Pattern|
|
||||
|dark|[Bool](../types/Bool.md) | Optional|Dark?|
|
||||
|access\_hash|[long](../types/long.md) | Yes|Hash|
|
||||
|slug|[string](../types/string.md) | Yes|Slug?|
|
||||
|document|[Document](../types/Document.md) | Optional|Wallpaper|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Optional|Wallpaper settings|
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: wallPaperSettings
|
||||
description: wallPaperSettings attributes, type and example
|
||||
description: Wallpaper settings
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: wallPaperSettings
|
||||
@ -8,14 +8,16 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
|
||||
|
||||
Wallpaper settings
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|blur|[Bool](../types/Bool.md) | Optional|
|
||||
|motion|[Bool](../types/Bool.md) | Optional|
|
||||
|background\_color|[int](../types/int.md) | Optional|
|
||||
|intensity|[int](../types/int.md) | Optional|
|
||||
| Name | Type | Required | Description |
|
||||
|----------|---------------|----------|-------------|
|
||||
|blur|[Bool](../types/Bool.md) | Optional|Blur?|
|
||||
|motion|[Bool](../types/Bool.md) | Optional|Motion?|
|
||||
|background\_color|[int](../types/int.md) | Optional|Background color|
|
||||
|intensity|[int](../types/int.md) | Optional|Intensity|
|
||||
|
||||
|
||||
|
||||
|
@ -1,17 +1,19 @@
|
||||
---
|
||||
title: account.getWallPaper
|
||||
description: account.getWallPaper parameters, return type and example
|
||||
description: Get wallpaper info
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.getWallPaper
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Get wallpaper info
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|wallpaper|[InputWallPaper](../types/InputWallPaper.md) | Yes|
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|wallpaper|[InputWallPaper](../types/InputWallPaper.md) | Wallpaper | Yes|
|
||||
|
||||
|
||||
### Return type: [WallPaper](../types/WallPaper.md)
|
||||
|
@ -13,7 +13,7 @@ Returns a list of available wallpapers.
|
||||
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|hash|Array of [int](../types/int.md) | | Optional|
|
||||
|hash|Array of [int](../types/int.md) | IDs of previously fetched wallpapers | Optional|
|
||||
|
||||
|
||||
### Return type: [account\_WallPapers](../types/account_WallPapers.md)
|
||||
|
@ -1,18 +1,20 @@
|
||||
---
|
||||
title: account.installWallPaper
|
||||
description: account.installWallPaper parameters, return type and example
|
||||
description: Install wallpaper
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.installWallPaper
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Install wallpaper
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|wallpaper|[InputWallPaper](../types/InputWallPaper.md) | Yes|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Yes|
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|wallpaper|[InputWallPaper](../types/InputWallPaper.md) | Wallpaper to install | Yes|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Wallpaper settings | Yes|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
@ -1,12 +1,14 @@
|
||||
---
|
||||
title: account.resetWallPapers
|
||||
description: account.resetWallPapers parameters, return type and example
|
||||
description: Reset wallpapers
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.resetWallPapers
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Reset wallpapers
|
||||
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
@ -1,19 +1,21 @@
|
||||
---
|
||||
title: account.saveWallPaper
|
||||
description: account.saveWallPaper parameters, return type and example
|
||||
description: Save wallpaper
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.saveWallPaper
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Save wallpaper
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|wallpaper|[InputWallPaper](../types/InputWallPaper.md) | Yes|
|
||||
|unsave|[Bool](../types/Bool.md) | Yes|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Yes|
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|wallpaper|[InputWallPaper](../types/InputWallPaper.md) | The wallpaper to save | Yes|
|
||||
|unsave|[Bool](../types/Bool.md) | Delete saved wallpaper | Yes|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | The wallpaper to save | Yes|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
@ -14,7 +14,7 @@ Change the phone number
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|phone\_number|[string](../types/string.md) | New phone number | Yes|
|
||||
|settings|[CodeSettings](../types/CodeSettings.md) | | Yes|
|
||||
|settings|[CodeSettings](../types/CodeSettings.md) | Code settings | Yes|
|
||||
|
||||
|
||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
@ -14,7 +14,7 @@ Send confirmation phone code
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|hash|[string](../types/string.md) | The hash | Yes|
|
||||
|settings|[CodeSettings](../types/CodeSettings.md) | | Yes|
|
||||
|settings|[CodeSettings](../types/CodeSettings.md) | Code settings | Yes|
|
||||
|
||||
|
||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
@ -14,7 +14,7 @@ Send phone verification code
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|phone\_number|[string](../types/string.md) | The phone number | Yes|
|
||||
|settings|[CodeSettings](../types/CodeSettings.md) | | Yes|
|
||||
|settings|[CodeSettings](../types/CodeSettings.md) | Code settings | Yes|
|
||||
|
||||
|
||||
### Return type: [auth\_SentCode](../types/auth_SentCode.md)
|
||||
|
@ -1,19 +1,21 @@
|
||||
---
|
||||
title: account.uploadWallPaper
|
||||
description: account.uploadWallPaper parameters, return type and example
|
||||
description: Upload wallpaper
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: account.uploadWallPaper
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Upload wallpaper
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|file|[File path or InputFile](../types/InputFile.md) | Yes|
|
||||
|mime\_type|[string](../types/string.md) | Yes|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Yes|
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|file|[File path or InputFile](../types/InputFile.md) | Image | Yes|
|
||||
|mime\_type|[string](../types/string.md) | Mime type | Yes|
|
||||
|settings|[WallPaperSettings](../types/WallPaperSettings.md) | Wallpaper settings | Yes|
|
||||
|
||||
|
||||
### Return type: [WallPaper](../types/WallPaper.md)
|
||||
|
@ -15,7 +15,7 @@ Edit admin permissions of a user in a channel/supergroup
|
||||
|----------|---------------|-------------|----------|
|
||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel | Optional|
|
||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The user | Optional|
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | | Yes|
|
||||
|admin\_rights|[ChatAdminRights](../types/ChatAdminRights.md) | Admin rights | Yes|
|
||||
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
@ -15,7 +15,7 @@ Kick or ban a user from a channel/supergroup
|
||||
|----------|---------------|-------------|----------|
|
||||
|channel|[Username, chat ID, Update, Message or InputChannel](../types/InputChannel.md) | The channel/supergroup | Optional|
|
||||
|user\_id|[Username, chat ID, Update, Message or InputUser](../types/InputUser.md) | The user to kick/ban | Optional|
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | | Yes|
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Banned rights | Yes|
|
||||
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
@ -150,6 +150,10 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions: messages.editChatAdmin</a>
|
||||
|
||||
* <a href="messages_editChatAbout.html" name="messages_editChatAbout">Edit chat info: messages.editChatAbout</a>
|
||||
|
||||
* <a href="messages_editChatDefaultBannedRights.html" name="messages_editChatDefaultBannedRights">Edit default rights of chat: messages.editChatDefaultBannedRights</a>
|
||||
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup): messages.editChatPhoto</a>
|
||||
|
||||
* <a href="channels_editPhoto.html" name="channels_editPhoto">Edit the photo of a supergroup/channel: channels.editPhoto</a>
|
||||
@ -332,6 +336,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="help_getUserInfo.html" name="help_getUserInfo">Get user info: help.getUserInfo</a>
|
||||
|
||||
* <a href="account_getWallPaper.html" name="account_getWallPaper">Get wallpaper info: account.getWallPaper</a>
|
||||
|
||||
* <a href="messages_getWebPage.html" name="messages_getWebPage">Get webpage preview: messages.getWebPage</a>
|
||||
|
||||
* <a href="messages_getWebPagePreview.html" name="messages_getWebPagePreview">Get webpage preview: messages.getWebPagePreview</a>
|
||||
@ -346,6 +352,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.: initConnection</a>
|
||||
|
||||
* <a href="account_installWallPaper.html" name="account_installWallPaper">Install wallpaper: account.installWallPaper</a>
|
||||
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code: auth.cancelCode</a>
|
||||
|
||||
* <a href="invokeWithTakeout.html" name="invokeWithTakeout">Invoke method from takeout session: invokeWithTakeout</a>
|
||||
@ -420,6 +428,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer: contacts.resetTopPeerRating</a>
|
||||
|
||||
* <a href="account_resetWallPapers.html" name="account_resetWallPapers">Reset wallpapers: account.resetWallPapers</a>
|
||||
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.: invokeAfterMsgs</a>
|
||||
|
||||
* <a href="account_getWallPapers.html" name="account_getWallPapers">Returns a list of available wallpapers.: account.getWallPapers</a>
|
||||
@ -432,6 +442,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="account_saveSecureValue.html" name="account_saveSecureValue">Save telegram passport secure value: account.saveSecureValue</a>
|
||||
|
||||
* <a href="account_saveWallPaper.html" name="account_saveWallPaper">Save wallpaper: account.saveWallPaper</a>
|
||||
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts: contacts.search</a>
|
||||
|
||||
* <a href="messages_searchGifs.html" name="messages_searchGifs">Search gifs: messages.searchGifs</a>
|
||||
@ -516,6 +528,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo: photos.uploadProfilePhoto</a>
|
||||
|
||||
* <a href="account_uploadWallPaper.html" name="account_uploadWallPaper">Upload wallpaper: account.uploadWallPaper</a>
|
||||
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account: auth.recoverPassword</a>
|
||||
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info: payments.validateRequestedInfo</a>
|
||||
|
@ -1,18 +1,20 @@
|
||||
---
|
||||
title: messages.editChatAbout
|
||||
description: messages.editChatAbout parameters, return type and example
|
||||
description: Edit chat info
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: messages.editChatAbout
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Edit chat info
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||
|about|[string](../types/string.md) | Yes|
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Chat | Optional|
|
||||
|about|[string](../types/string.md) | Info | Yes|
|
||||
|
||||
|
||||
### Return type: [Bool](../types/Bool.md)
|
||||
|
@ -1,18 +1,20 @@
|
||||
---
|
||||
title: messages.editChatDefaultBannedRights
|
||||
description: messages.editChatDefaultBannedRights parameters, return type and example
|
||||
description: Edit default rights of chat
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Method: messages.editChatDefaultBannedRights
|
||||
[Back to methods index](index.md)
|
||||
|
||||
|
||||
Edit default rights of chat
|
||||
|
||||
### Parameters:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Yes|
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Chat | Optional|
|
||||
|banned\_rights|[ChatBannedRights](../types/ChatBannedRights.md) | Global chat rights | Yes|
|
||||
|
||||
|
||||
### Return type: [Updates](../types/Updates.md)
|
||||
|
@ -13,7 +13,7 @@ Export chat invite
|
||||
|
||||
| Name | Type | Description | Required |
|
||||
|----------|---------------|-------------|----------|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | | Optional|
|
||||
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Export invite only for this user | Optional|
|
||||
|
||||
|
||||
### Return type: [ExportedChatInvite](../types/ExportedChatInvite.md)
|
||||
|
@ -124,4 +124,4 @@ while (true) {
|
||||
}
|
||||
```
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/SECRET_CHATS.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/FILES.html">Next section</a>
|
@ -53,4 +53,4 @@ And click them:
|
||||
$button->click();
|
||||
```
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/CALLS.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/SECRET_CHATS.html">Next section</a>
|
@ -22,4 +22,4 @@ MadelineProto provides a unified class for logging messages to the logging desti
|
||||
|
||||
By default, `$level` is `\danog\MadelineProto\Logger:NOTICE`.
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/USING_METHODS.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/CALLS.html">Next section</a>
|
@ -166,4 +166,4 @@ Can return additional HTTP headers to use when the HTTP protocol is being used.
|
||||
|
||||
Returns the resource used for socket communication: should call `$socket->getResource()`.
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/CONTRIB.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/USING_METHODS.html">Next section</a>
|
@ -107,4 +107,4 @@ $MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' => 'l
|
||||
|
||||
If the queue if the specified queue name does not exist, it will be created.
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/FILES.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/CONTRIB.html">Next section</a>
|
299
docs/index.md
299
docs/index.md
@ -83,16 +83,13 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
|
||||
* [Getting the TL trace](https://docs.madelineproto.xyz/docs/EXCEPTIONS.html#getting-the-tl-trace)
|
||||
* [Avoiding FLOOD_WAITs](https://docs.madelineproto.xyz/docs/FLOOD_WAIT.html)
|
||||
* [Logging](https://docs.madelineproto.xyz/docs/LOGGING.html)
|
||||
* [Using methods](https://docs.madelineproto.xyz/docs/USING_METHODS.html)
|
||||
* [FULL API Documentation with descriptions](https://docs.madelineproto.xyz/API_docs/methods/)
|
||||
* [Peers](https://docs.madelineproto.xyz/docs/USING_METHODS.html#peers)
|
||||
* [Files](https://docs.madelineproto.xyz/docs/FILES.html)
|
||||
* [Secret chats](https://docs.madelineproto.xyz/docs/USING_METHODS.html#secret-chats)
|
||||
* [Entities (Markdown & HTML)](https://docs.madelineproto.xyz/docs/USING_METHODS.html#entities)
|
||||
* [reply_markup (keyboards & inline keyboards)](https://docs.madelineproto.xyz/docs/USING_METHODS.html#reply_markup)
|
||||
* [bot API objects](https://docs.madelineproto.xyz/docs/USING_METHODS.html#bot-api-objects)
|
||||
* [No result](https://docs.madelineproto.xyz/docs/USING_METHODS.html#no-result)
|
||||
* [Queues](https://docs.madelineproto.xyz/docs/USING_METHODS.html#queues)
|
||||
* [Telegram VoIP phone calls](https://docs.madelineproto.xyz/docs/CALLS.html)
|
||||
* [Requesting a call](https://docs.madelineproto.xyz/docs/CALLS.html#requesting-a-call)
|
||||
* [Playing mp3 files](https://docs.madelineproto.xyz/docs/CALLS.html#playing-mp3-files)
|
||||
* [Playing streams](https://docs.madelineproto.xyz/docs/CALLS.html#playing-streams)
|
||||
* [Changing audio quality](https://docs.madelineproto.xyz/docs/CALLS.html#changing-audio-quality)
|
||||
* [Putting it all together](https://docs.madelineproto.xyz/docs/CALLS.html#putting-it-all-together)
|
||||
* [Accepting calls](https://docs.madelineproto.xyz/docs/CALLS.html#accepting-calls)
|
||||
* [Uploading and downloading files](https://docs.madelineproto.xyz/docs/FILES.html)
|
||||
* [Uploading & sending files](https://docs.madelineproto.xyz/docs/FILES.html#sending-files)
|
||||
* [Security notice](https://docs.madelineproto.xyz/docs/FILES.html#security-notice)
|
||||
@ -120,13 +117,6 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
|
||||
* [As user](https://docs.madelineproto.xyz/docs/DIALOGS.html#user-get_dialogs)
|
||||
* [As bot](https://docs.madelineproto.xyz/docs/DIALOGS.html#bot-internal-peer-database)
|
||||
* [Inline buttons](https://docs.madelineproto.xyz/docs/INLINE_BUTTONS.html)
|
||||
* [Calls](https://docs.madelineproto.xyz/docs/CALLS.html)
|
||||
* [Requesting a call](https://docs.madelineproto.xyz/docs/CALLS.html#requesting-a-call)
|
||||
* [Playing mp3 files](https://docs.madelineproto.xyz/docs/CALLS.html#playing-mp3-files)
|
||||
* [Playing streams](https://docs.madelineproto.xyz/docs/CALLS.html#playing-streams)
|
||||
* [Changing audio quality](https://docs.madelineproto.xyz/docs/CALLS.html#changing-audio-quality)
|
||||
* [Putting it all together](https://docs.madelineproto.xyz/docs/CALLS.html#putting-it-all-together)
|
||||
* [Accepting calls](https://docs.madelineproto.xyz/docs/CALLS.html#accepting-calls)
|
||||
* [Secret chats](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
* [Requesting secret chats](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html#requesting-secret-chats)
|
||||
* [Accepting secret chats](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html#accepting-secret-chats)
|
||||
@ -137,6 +127,281 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
|
||||
* [Use pre-built Socks5 proxy](https://docs.madelineproto.xyz/docs/PROXY.html#socks5-proxy)
|
||||
* [Use pre-built HTTP proxy](https://docs.madelineproto.xyz/docs/PROXY.html#http-proxy)
|
||||
* [Build your own proxy](https://docs.madelineproto.xyz/docs/PROXY.html#build-your-proxy)
|
||||
* [Using methods](https://docs.madelineproto.xyz/docs/USING_METHODS.html)
|
||||
* [FULL API Documentation with descriptions](https://docs.madelineproto.xyz/API_docs/methods/)
|
||||
* [Logout](https://docs.madelineproto.xyz/logout.html)
|
||||
* [Login](https://docs.madelineproto.xyz/docs/LOGIN.html)
|
||||
* [Get all chats, broadcast a message to all chats](https://docs.madelineproto.xyz/docs/DIALOGS.html)
|
||||
* [Get the full participant list of a channel/group/supergroup](https://docs.madelineproto.xyz/get_pwr_chat.html)
|
||||
* [Get full info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_full_info.html)
|
||||
* [Get info about a user/chat/supergroup/channel](https://docs.madelineproto.xyz/get_info.html)
|
||||
* [Get info about the currently logged-in user](https://docs.madelineproto.xyz/get_self.html)
|
||||
* [Upload or download files up to 1.5 GB](https://docs.madelineproto.xyz/docs/FILES.html)
|
||||
* [Make a phone call and play a song](https://docs.madelineproto.xyz/docs/CALLS.html)
|
||||
* [Create a secret chat bot](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html)
|
||||
* <a href="account_acceptAuthorization.html" name="account_acceptAuthorization">Accept telegram passport authorization: account.acceptAuthorization</a>
|
||||
* <a href="help_acceptTermsOfService.html" name="help_acceptTermsOfService">Accept telegram's TOS: help.acceptTermsOfService</a>
|
||||
* <a href="messages_installStickerSet.html" name="messages_installStickerSet">Add a sticker set: messages.installStickerSet</a>
|
||||
* <a href="messages_faveSticker.html" name="messages_faveSticker">Add a sticker to favorites: messages.faveSticker</a>
|
||||
* <a href="messages_saveRecentSticker.html" name="messages_saveRecentSticker">Add a sticker to recent stickers: messages.saveRecentSticker</a>
|
||||
* <a href="messages_addChatUser.html" name="messages_addChatUser">Add a user to a normal chat (use channels->inviteToChannel for supergroups): messages.addChatUser</a>
|
||||
* <a href="contacts_importContacts.html" name="contacts_importContacts">Add phone number as contact: contacts.importContacts</a>
|
||||
* <a href="stickers_addStickerToSet.html" name="stickers_addStickerToSet">Add sticker to stickerset: stickers.addStickerToSet</a>
|
||||
* <a href="channels_inviteToChannel.html" name="channels_inviteToChannel">Add users to channel/supergroup: channels.inviteToChannel</a>
|
||||
* <a href="contacts_block.html" name="contacts_block">Block a user: contacts.block</a>
|
||||
* <a href="account_getAuthorizationForm.html" name="account_getAuthorizationForm">Bots only: get telegram passport authorization form: account.getAuthorizationForm</a>
|
||||
* <a href="payments_sendPaymentForm.html" name="payments_sendPaymentForm">Bots only: send payment form: payments.sendPaymentForm</a>
|
||||
* <a href="messages_setBotPrecheckoutResults.html" name="messages_setBotPrecheckoutResults">Bots only: set precheckout results: messages.setBotPrecheckoutResults</a>
|
||||
* <a href="messages_setBotShippingResults.html" name="messages_setBotShippingResults">Bots only: set shipping results: messages.setBotShippingResults</a>
|
||||
* <a href="messages_setBotCallbackAnswer.html" name="messages_setBotCallbackAnswer">Bots only: set the callback answer (after a button was clicked): messages.setBotCallbackAnswer</a>
|
||||
* <a href="messages_setInlineBotResults.html" name="messages_setInlineBotResults">Bots only: set the results of an inline query: messages.setInlineBotResults</a>
|
||||
* <a href="messages_getInlineBotResults.html" name="messages_getInlineBotResults">Call inline bot: messages.getInlineBotResults</a>
|
||||
* <a href="account_cancelPasswordEmail.html" name="account_cancelPasswordEmail">Cancel password recovery email: account.cancelPasswordEmail</a>
|
||||
* <a href="account_updateNotifySettings.html" name="account_updateNotifySettings">Change notification settings: account.updateNotifySettings</a>
|
||||
* <a href="stickers_changeStickerPosition.html" name="stickers_changeStickerPosition">Change sticker position in photo: stickers.changeStickerPosition</a>
|
||||
* <a href="account_changePhone.html" name="account_changePhone">Change the phone number associated to this account: account.changePhone</a>
|
||||
* <a href="account_sendChangePhoneCode.html" name="account_sendChangePhoneCode">Change the phone number: account.sendChangePhoneCode</a>
|
||||
* <a href="photos_updateProfilePhoto.html" name="photos_updateProfilePhoto">Change the profile photo: photos.updateProfilePhoto</a>
|
||||
* <a href="messages_setTyping.html" name="messages_setTyping">Change typing status: messages.setTyping</a>
|
||||
* <a href="messages_getMessageEditData.html" name="messages_getMessageEditData">Check if about to edit a message or a media caption: messages.getMessageEditData</a>
|
||||
* <a href="messages_checkChatInvite.html" name="messages_checkChatInvite">Check if an invitation link is valid: messages.checkChatInvite</a>
|
||||
* <a href="account_checkUsername.html" name="account_checkUsername">Check if this username is available: account.checkUsername</a>
|
||||
* <a href="channels_checkUsername.html" name="channels_checkUsername">Check if this username is free and can be assigned to a channel/supergroup: channels.checkUsername</a>
|
||||
* <a href="messages_clearAllDrafts.html" name="messages_clearAllDrafts">Clear all drafts: messages.clearAllDrafts</a>
|
||||
* <a href="messages_clearRecentStickers.html" name="messages_clearRecentStickers">Clear all recent stickers: messages.clearRecentStickers</a>
|
||||
* <a href="payments_clearSavedInfo.html" name="payments_clearSavedInfo">Clear saved payments info: payments.clearSavedInfo</a>
|
||||
* <a href="account_confirmPasswordEmail.html" name="account_confirmPasswordEmail">Confirm password recovery using email: account.confirmPasswordEmail</a>
|
||||
* <a href="account_confirmPhone.html" name="account_confirmPhone">Confirm this phone number is associated to this account, obtain phone_code_hash from sendConfirmPhoneCode: account.confirmPhone</a>
|
||||
* <a href="account_getContactSignUpNotification.html" name="account_getContactSignUpNotification">Contact signup notification setting value: account.getContactSignUpNotification</a>
|
||||
* <a href="messages_migrateChat.html" name="messages_migrateChat">Convert chat to supergroup: messages.migrateChat</a>
|
||||
* <a href="messages_createChat.html" name="messages_createChat">Create a chat (not supergroup): messages.createChat</a>
|
||||
* <a href="channels_createChannel.html" name="channels_createChannel">Create channel/supergroup: channels.createChannel</a>
|
||||
* <a href="stickers_createStickerSet.html" name="stickers_createStickerSet">Create stickerset: stickers.createStickerSet</a>
|
||||
* <a href="account_resetAuthorization.html" name="account_resetAuthorization">Delete a certain session: account.resetAuthorization</a>
|
||||
* <a href="account_resetWebAuthorization.html" name="account_resetWebAuthorization">Delete a certain telegram web login authorization: account.resetWebAuthorization</a>
|
||||
* <a href="channels_deleteChannel.html" name="channels_deleteChannel">Delete a channel/supergroup: channels.deleteChannel</a>
|
||||
* <a href="contacts_deleteContact.html" name="contacts_deleteContact">Delete a contact: contacts.deleteContact</a>
|
||||
* <a href="messages_deleteChatUser.html" name="messages_deleteChatUser">Delete a user from a chat (not supergroup): messages.deleteChatUser</a>
|
||||
* <a href="auth_resetAuthorizations.html" name="auth_resetAuthorizations">Delete all logged-in sessions.: auth.resetAuthorizations</a>
|
||||
* <a href="channels_deleteUserHistory.html" name="channels_deleteUserHistory">Delete all messages of a user in a channel/supergroup: channels.deleteUserHistory</a>
|
||||
* <a href="auth_dropTempAuthKeys.html" name="auth_dropTempAuthKeys">Delete all temporary authorization keys except the ones provided: auth.dropTempAuthKeys</a>
|
||||
* <a href="channels_deleteMessages.html" name="channels_deleteMessages">Delete channel/supergroup messages: channels.deleteMessages</a>
|
||||
* <a href="messages_deleteHistory.html" name="messages_deleteHistory">Delete chat history: messages.deleteHistory</a>
|
||||
* <a href="contacts_deleteByPhones.html" name="contacts_deleteByPhones">Delete contacts by phones: contacts.deleteByPhones</a>
|
||||
* <a href="messages_deleteMessages.html" name="messages_deleteMessages">Delete messages: messages.deleteMessages</a>
|
||||
* <a href="contacts_deleteContacts.html" name="contacts_deleteContacts">Delete multiple contacts: contacts.deleteContacts</a>
|
||||
* <a href="photos_deletePhotos.html" name="photos_deletePhotos">Delete profile photos: photos.deletePhotos</a>
|
||||
* <a href="account_deleteSecureValue.html" name="account_deleteSecureValue">Delete secure telegram passport value: account.deleteSecureValue</a>
|
||||
* <a href="channels_deleteHistory.html" name="channels_deleteHistory">Delete the history of a supergroup/channel: channels.deleteHistory</a>
|
||||
* <a href="account_deleteAccount.html" name="account_deleteAccount">Delete this account: account.deleteAccount</a>
|
||||
* <a href="account_updateDeviceLocked.html" name="account_updateDeviceLocked">Disable all notifications for a certain period: account.updateDeviceLocked</a>
|
||||
* <a href="upload_getWebFile.html" name="upload_getWebFile">Download a file through telegram: upload.getWebFile</a>
|
||||
* <a href="messages_editMessage.html" name="messages_editMessage">Edit a message: messages.editMessage</a>
|
||||
* <a href="messages_editInlineBotMessage.html" name="messages_editInlineBotMessage">Edit a sent inline message: messages.editInlineBotMessage</a>
|
||||
* <a href="channels_editAdmin.html" name="channels_editAdmin">Edit admin permissions of a user in a channel/supergroup: channels.editAdmin</a>
|
||||
* <a href="messages_editChatAdmin.html" name="messages_editChatAdmin">Edit admin permissions: messages.editChatAdmin</a>
|
||||
* <a href="messages_editChatAbout.html" name="messages_editChatAbout">Edit chat info: messages.editChatAbout</a>
|
||||
* <a href="messages_editChatDefaultBannedRights.html" name="messages_editChatDefaultBannedRights">Edit default rights of chat: messages.editChatDefaultBannedRights</a>
|
||||
* <a href="messages_editChatPhoto.html" name="messages_editChatPhoto">Edit the photo of a normal chat (not supergroup): messages.editChatPhoto</a>
|
||||
* <a href="channels_editPhoto.html" name="channels_editPhoto">Edit the photo of a supergroup/channel: channels.editPhoto</a>
|
||||
* <a href="messages_editChatTitle.html" name="messages_editChatTitle">Edit the title of a normal chat (not supergroup): messages.editChatTitle</a>
|
||||
* <a href="channels_editTitle.html" name="channels_editTitle">Edit the title of a supergroup/channel: channels.editTitle</a>
|
||||
* <a href="help_editUserInfo.html" name="help_editUserInfo">Edit user info: help.editUserInfo</a>
|
||||
* <a href="channels_togglePreHistoryHidden.html" name="channels_togglePreHistoryHidden">Enable or disable hidden history for new channel/supergroup users: channels.togglePreHistoryHidden</a>
|
||||
* <a href="messages_exportChatInvite.html" name="messages_exportChatInvite">Export chat invite : messages.exportChatInvite</a>
|
||||
* <a href="messages_searchStickerSets.html" name="messages_searchStickerSets">Find a sticker set: messages.searchStickerSets</a>
|
||||
* <a href="account_finishTakeoutSession.html" name="account_finishTakeoutSession">Finish account exporting session: account.finishTakeoutSession</a>
|
||||
* <a href="messages_forwardMessages.html" name="messages_forwardMessages">Forward messages: messages.forwardMessages</a>
|
||||
* <a href="help_getCdnConfig.html" name="help_getCdnConfig">Get CDN configuration: help.getCdnConfig</a>
|
||||
* <a href="messages_getStickerSet.html" name="messages_getStickerSet">Get a stickerset: messages.getStickerSet</a>
|
||||
* <a href="account_getAccountTTL.html" name="account_getAccountTTL">Get account TTL: account.getAccountTTL</a>
|
||||
* <a href="channels_getAdminLog.html" name="channels_getAdminLog">Get admin log of a channel/supergroup: channels.getAdminLog</a>
|
||||
* <a href="messages_getArchivedStickers.html" name="messages_getArchivedStickers">Get all archived stickers: messages.getArchivedStickers</a>
|
||||
* <a href="channels_getLeftChannels.html" name="channels_getLeftChannels">Get all channels you left: channels.getLeftChannels</a>
|
||||
* <a href="messages_getAllChats.html" name="messages_getAllChats">Get all chats (not supergroups or channels): messages.getAllChats</a>
|
||||
* <a href="contacts_getContacts.html" name="contacts_getContacts">Get all contacts: contacts.getContacts</a>
|
||||
* <a href="account_getAuthorizations.html" name="account_getAuthorizations">Get all logged-in authorizations: account.getAuthorizations</a>
|
||||
* <a href="messages_getAllDrafts.html" name="messages_getAllDrafts">Get all message drafts: messages.getAllDrafts</a>
|
||||
* <a href="account_getAllSecureValues.html" name="account_getAllSecureValues">Get all secure telegram passport values: account.getAllSecureValues</a>
|
||||
* <a href="messages_getAllStickers.html" name="messages_getAllStickers">Get all stickerpacks: messages.getAllStickers</a>
|
||||
* <a href="channels_getAdminedPublicChannels.html" name="channels_getAdminedPublicChannels">Get all supergroups/channels where you're admin: channels.getAdminedPublicChannels</a>
|
||||
* <a href="messages_getMessagesViews.html" name="messages_getMessagesViews">Get and increase message views: messages.getMessagesViews</a>
|
||||
* <a href="help_getAppConfig.html" name="help_getAppConfig">Get app config: help.getAppConfig</a>
|
||||
* <a href="langpack_getLanguages.html" name="langpack_getLanguages">Get available languages: langpack.getLanguages</a>
|
||||
* <a href="contacts_getBlocked.html" name="contacts_getBlocked">Get blocked users: contacts.getBlocked</a>
|
||||
* <a href="phone_getCallConfig.html" name="phone_getCallConfig">Get call configuration: phone.getCallConfig</a>
|
||||
* <a href="channels_getMessages.html" name="channels_getMessages">Get channel/supergroup messages: channels.getMessages</a>
|
||||
* <a href="channels_getParticipants.html" name="channels_getParticipants">Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead): channels.getParticipants</a>
|
||||
* <a href="messages_getCommonChats.html" name="messages_getCommonChats">Get chats in common with a user: messages.getCommonChats</a>
|
||||
* <a href="contacts_getContactIDs.html" name="contacts_getContactIDs">Get contacts by IDs: contacts.getContactIDs</a>
|
||||
* <a href="help_getDeepLinkInfo.html" name="help_getDeepLinkInfo">Get deep link info: help.getDeepLinkInfo</a>
|
||||
* <a href="messages_getPeerDialogs.html" name="messages_getPeerDialogs">Get dialog info of peers: messages.getPeerDialogs</a>
|
||||
* <a href="messages_getDialogUnreadMarks.html" name="messages_getDialogUnreadMarks">Get dialogs marked as unread manually: messages.getDialogUnreadMarks</a>
|
||||
* <a href="messages_getDocumentByHash.html" name="messages_getDocumentByHash">Get document by SHA256 hash: messages.getDocumentByHash</a>
|
||||
* <a href="messages_getFavedStickers.html" name="messages_getFavedStickers">Get favorite stickers: messages.getFavedStickers</a>
|
||||
* <a href="messages_getFeaturedStickers.html" name="messages_getFeaturedStickers">Get featured stickers: messages.getFeaturedStickers</a>
|
||||
* <a href="messages_getInlineGameHighScores.html" name="messages_getInlineGameHighScores">Get high scores of a game sent in an inline message: messages.getInlineGameHighScores</a>
|
||||
* <a href="messages_getGameHighScores.html" name="messages_getGameHighScores">Get high scores of a game: messages.getGameHighScores</a>
|
||||
* <a href="channels_getParticipant.html" name="channels_getParticipant">Get info about a certain channel/supergroup participant: channels.getParticipant</a>
|
||||
* <a href="help_getAppUpdate.html" name="help_getAppUpdate">Get info about app updates: help.getAppUpdate</a>
|
||||
* <a href="messages_getChats.html" name="messages_getChats">Get info about chats: messages.getChats</a>
|
||||
* <a href="channels_getChannels.html" name="channels_getChannels">Get info about multiple channels/supergroups: channels.getChannels</a>
|
||||
* <a href="users_getUsers.html" name="users_getUsers">Get info about users: users.getUsers</a>
|
||||
* <a href="help_getSupport.html" name="help_getSupport">Get info of support user: help.getSupport</a>
|
||||
* <a href="help_getProxyData.html" name="help_getProxyData">Get information about the current proxy: help.getProxyData</a>
|
||||
* <a href="help_getInviteText.html" name="help_getInviteText">Get invitation text: help.getInviteText</a>
|
||||
* <a href="langpack_getStrings.html" name="langpack_getStrings">Get language pack strings: langpack.getStrings</a>
|
||||
* <a href="langpack_getDifference.html" name="langpack_getDifference">Get language pack updates: langpack.getDifference</a>
|
||||
* <a href="langpack_getLangPack.html" name="langpack_getLangPack">Get language pack: langpack.getLangPack</a>
|
||||
* <a href="langpack_getLanguage.html" name="langpack_getLanguage">Get language: langpack.getLanguage</a>
|
||||
* <a href="messages_getMaskStickers.html" name="messages_getMaskStickers">Get masks: messages.getMaskStickers</a>
|
||||
* <a href="messages_getSplitRanges.html" name="messages_getSplitRanges">Get message ranges to fetch: messages.getSplitRanges</a>
|
||||
* <a href="messages_getMessages.html" name="messages_getMessages">Get messages: messages.getMessages</a>
|
||||
* <a href="contacts_getTopPeers.html" name="contacts_getTopPeers">Get most used chats: contacts.getTopPeers</a>
|
||||
* <a href="help_getNearestDc.html" name="help_getNearestDc">Get nearest datacenter: help.getNearestDc</a>
|
||||
* <a href="account_getNotifyExceptions.html" name="account_getNotifyExceptions">Get notification exceptions: account.getNotifyExceptions</a>
|
||||
* <a href="account_getNotifySettings.html" name="account_getNotifySettings">Get notification settings: account.getNotifySettings</a>
|
||||
* <a href="contacts_getStatuses.html" name="contacts_getStatuses">Get online status of all users: contacts.getStatuses</a>
|
||||
* <a href="messages_getOnlines.html" name="messages_getOnlines">Get online users: messages.getOnlines</a>
|
||||
* <a href="help_getPassportConfig.html" name="help_getPassportConfig">Get passport config: help.getPassportConfig</a>
|
||||
* <a href="payments_getPaymentForm.html" name="payments_getPaymentForm">Get payment form: payments.getPaymentForm</a>
|
||||
* <a href="payments_getPaymentReceipt.html" name="payments_getPaymentReceipt">Get payment receipt: payments.getPaymentReceipt</a>
|
||||
* <a href="messages_getPinnedDialogs.html" name="messages_getPinnedDialogs">Get pinned dialogs: messages.getPinnedDialogs</a>
|
||||
* <a href="messages_getPollResults.html" name="messages_getPollResults">Get poll results: messages.getPollResults</a>
|
||||
* <a href="messages_getHistory.html" name="messages_getHistory">Get previous messages of a group: messages.getHistory</a>
|
||||
* <a href="account_getPrivacy.html" name="account_getPrivacy">Get privacy settings: account.getPrivacy</a>
|
||||
* <a href="messages_getRecentLocations.html" name="messages_getRecentLocations">Get recent locations: messages.getRecentLocations</a>
|
||||
* <a href="messages_getRecentStickers.html" name="messages_getRecentStickers">Get recent stickers: messages.getRecentStickers</a>
|
||||
* <a href="help_getRecentMeUrls.html" name="help_getRecentMeUrls">Get recent t.me URLs: help.getRecentMeUrls</a>
|
||||
* <a href="contacts_getSaved.html" name="contacts_getSaved">Get saved contacts: contacts.getSaved</a>
|
||||
* <a href="messages_getSavedGifs.html" name="messages_getSavedGifs">Get saved gifs: messages.getSavedGifs</a>
|
||||
* <a href="payments_getSavedInfo.html" name="payments_getSavedInfo">Get saved payments info: payments.getSavedInfo</a>
|
||||
* <a href="account_getSecureValue.html" name="account_getSecureValue">Get secure value for telegram passport: account.getSecureValue</a>
|
||||
* <a href="help_getConfig.html" name="help_getConfig">Get server configuration: help.getConfig</a>
|
||||
* <a href="messages_getStatsURL.html" name="messages_getStatsURL">Get stats URL: messages.getStatsURL</a>
|
||||
* <a href="messages_getAttachedStickers.html" name="messages_getAttachedStickers">Get stickers attachable to images: messages.getAttachedStickers</a>
|
||||
* <a href="messages_getStickers.html" name="messages_getStickers">Get stickers: messages.getStickers</a>
|
||||
* <a href="help_getSupportName.html" name="help_getSupportName">Get support name: help.getSupportName</a>
|
||||
* <a href="account_getWebAuthorizations.html" name="account_getWebAuthorizations">Get telegram web login authorizations: account.getWebAuthorizations</a>
|
||||
* <a href="account_getTmpPassword.html" name="account_getTmpPassword">Get temporary password for buying products through bots: account.getTmpPassword</a>
|
||||
* <a href="messages_getBotCallbackAnswer.html" name="messages_getBotCallbackAnswer">Get the callback answer of a bot (after clicking a button): messages.getBotCallbackAnswer</a>
|
||||
* <a href="help_getAppChangelog.html" name="help_getAppChangelog">Get the changelog of this app: help.getAppChangelog</a>
|
||||
* <a href="account_getPassword.html" name="account_getPassword">Get the current password: account.getPassword</a>
|
||||
* <a href="channels_exportMessageLink.html" name="channels_exportMessageLink">Get the link of a message in a channel: channels.exportMessageLink</a>
|
||||
* <a href="photos_getUserPhotos.html" name="photos_getUserPhotos">Get the profile photos of a user: photos.getUserPhotos</a>
|
||||
* <a href="messages_getPeerSettings.html" name="messages_getPeerSettings">Get the settings of apeer: messages.getPeerSettings</a>
|
||||
* <a href="messages_getUnreadMentions.html" name="messages_getUnreadMentions">Get unread mentions: messages.getUnreadMentions</a>
|
||||
* <a href="help_getTermsOfServiceUpdate.html" name="help_getTermsOfServiceUpdate">Get updated TOS: help.getTermsOfServiceUpdate</a>
|
||||
* <a href="help_getUserInfo.html" name="help_getUserInfo">Get user info: help.getUserInfo</a>
|
||||
* <a href="account_getWallPaper.html" name="account_getWallPaper">Get wallpaper info: account.getWallPaper</a>
|
||||
* <a href="messages_getWebPage.html" name="messages_getWebPage">Get webpage preview: messages.getWebPage</a>
|
||||
* <a href="messages_getWebPagePreview.html" name="messages_getWebPagePreview">Get webpage preview: messages.getWebPagePreview</a>
|
||||
* <a href="messages_getDialogs.html" name="messages_getDialogs">Gets list of chats: you should use $MadelineProto->get_dialogs() instead: https://docs.madelineproto.xyz/docs/DIALOGS.html: messages.getDialogs</a>
|
||||
* <a href="messages_searchGlobal.html" name="messages_searchGlobal">Global message search: messages.searchGlobal</a>
|
||||
* <a href="messages_hideReportSpam.html" name="messages_hideReportSpam">Hide report spam popup: messages.hideReportSpam</a>
|
||||
* <a href="messages_importChatInvite.html" name="messages_importChatInvite">Import chat invite: messages.importChatInvite</a>
|
||||
* <a href="initConnection.html" name="initConnection">Initializes connection and save information on the user's device and application.: initConnection</a>
|
||||
* <a href="account_installWallPaper.html" name="account_installWallPaper">Install wallpaper: account.installWallPaper</a>
|
||||
* <a href="auth_cancelCode.html" name="auth_cancelCode">Invalidate sent phone code: auth.cancelCode</a>
|
||||
* <a href="invokeWithTakeout.html" name="invokeWithTakeout">Invoke method from takeout session: invokeWithTakeout</a>
|
||||
* <a href="invokeWithLayer.html" name="invokeWithLayer">Invoke this method with layer X: invokeWithLayer</a>
|
||||
* <a href="invokeWithMessagesRange.html" name="invokeWithMessagesRange">Invoke with messages range: invokeWithMessagesRange</a>
|
||||
* <a href="invokeWithoutUpdates.html" name="invokeWithoutUpdates">Invoke with method without returning updates in the socket: invokeWithoutUpdates</a>
|
||||
* <a href="invokeAfterMsg.html" name="invokeAfterMsg">Invokes a query after successfull completion of one of the previous queries.: invokeAfterMsg</a>
|
||||
* <a href="channels_joinChannel.html" name="channels_joinChannel">Join a channel/supergroup: channels.joinChannel</a>
|
||||
* <a href="channels_editBanned.html" name="channels_editBanned">Kick or ban a user from a channel/supergroup: channels.editBanned</a>
|
||||
* <a href="channels_leaveChannel.html" name="channels_leaveChannel">Leave a channel/supergroup: channels.leaveChannel</a>
|
||||
* <a href="help_saveAppLog.html" name="help_saveAppLog">Log data for developer of this app: help.saveAppLog</a>
|
||||
* <a href="channels_readHistory.html" name="channels_readHistory">Mark channel/supergroup history as read: channels.readHistory</a>
|
||||
* <a href="channels_readMessageContents.html" name="channels_readMessageContents">Mark channel/supergroup messages as read: channels.readMessageContents</a>
|
||||
* <a href="messages_markDialogUnread.html" name="messages_markDialogUnread">Mark dialog as unread : messages.markDialogUnread</a>
|
||||
* <a href="messages_readMentions.html" name="messages_readMentions">Mark mentions as read: messages.readMentions</a>
|
||||
* <a href="messages_readMessageContents.html" name="messages_readMessageContents">Mark message as read: messages.readMessageContents</a>
|
||||
* <a href="messages_readEncryptedHistory.html" name="messages_readEncryptedHistory">Mark messages as read in secret chats: messages.readEncryptedHistory</a>
|
||||
* <a href="messages_readHistory.html" name="messages_readHistory">Mark messages as read: messages.readHistory</a>
|
||||
* <a href="messages_receivedMessages.html" name="messages_receivedMessages">Mark messages as read: messages.receivedMessages</a>
|
||||
* <a href="messages_readFeaturedStickers.html" name="messages_readFeaturedStickers">Mark new featured stickers as read: messages.readFeaturedStickers</a>
|
||||
* <a href="phone_receivedCall.html" name="phone_receivedCall">Notify server that you received a call (server will refuse all incoming calls until the current call is over): phone.receivedCall</a>
|
||||
* <a href="messages_toggleDialogPin.html" name="messages_toggleDialogPin">Pin or unpin dialog: messages.toggleDialogPin</a>
|
||||
* <a href="account_registerDevice.html" name="account_registerDevice">Register device for push notifications: account.registerDevice</a>
|
||||
* <a href="messages_uninstallStickerSet.html" name="messages_uninstallStickerSet">Remove a sticker set: messages.uninstallStickerSet</a>
|
||||
* <a href="stickers_removeStickerFromSet.html" name="stickers_removeStickerFromSet">Remove sticker from stickerset: stickers.removeStickerFromSet</a>
|
||||
* <a href="messages_reorderPinnedDialogs.html" name="messages_reorderPinnedDialogs">Reorder pinned dialogs: messages.reorderPinnedDialogs</a>
|
||||
* <a href="messages_reorderStickerSets.html" name="messages_reorderStickerSets">Reorder sticker sets: messages.reorderStickerSets</a>
|
||||
* <a href="channels_reportSpam.html" name="channels_reportSpam">Report a message in a supergroup/channel for spam: channels.reportSpam</a>
|
||||
* <a href="messages_report.html" name="messages_report">Report a message: messages.report</a>
|
||||
* <a href="messages_reportSpam.html" name="messages_reportSpam">Report a peer for spam: messages.reportSpam</a>
|
||||
* <a href="messages_reportEncryptedSpam.html" name="messages_reportEncryptedSpam">Report for spam a secret chat: messages.reportEncryptedSpam</a>
|
||||
* <a href="account_reportPeer.html" name="account_reportPeer">Report for spam: account.reportPeer</a>
|
||||
* <a href="account_resendPasswordEmail.html" name="account_resendPasswordEmail">Resend password recovery email: account.resendPasswordEmail</a>
|
||||
* <a href="auth_resendCode.html" name="auth_resendCode">Resend the SMS verification code: auth.resendCode</a>
|
||||
* <a href="account_resetNotifySettings.html" name="account_resetNotifySettings">Reset all notification settings: account.resetNotifySettings</a>
|
||||
* <a href="account_resetWebAuthorizations.html" name="account_resetWebAuthorizations">Reset all telegram web login authorizations: account.resetWebAuthorizations</a>
|
||||
* <a href="contacts_resetSaved.html" name="contacts_resetSaved">Reset saved contacts: contacts.resetSaved</a>
|
||||
* <a href="contacts_resetTopPeerRating.html" name="contacts_resetTopPeerRating">Reset top peer rating for a certain category/peer: contacts.resetTopPeerRating</a>
|
||||
* <a href="account_resetWallPapers.html" name="account_resetWallPapers">Reset wallpapers: account.resetWallPapers</a>
|
||||
* <a href="invokeAfterMsgs.html" name="invokeAfterMsgs">Result type returned by a current query.: invokeAfterMsgs</a>
|
||||
* <a href="account_getWallPapers.html" name="account_getWallPapers">Returns a list of available wallpapers.: account.getWallPapers</a>
|
||||
* <a href="messages_saveGif.html" name="messages_saveGif">Save a GIF: messages.saveGif</a>
|
||||
* <a href="messages_saveDraft.html" name="messages_saveDraft">Save a message draft: messages.saveDraft</a>
|
||||
* <a href="phone_saveCallDebug.html" name="phone_saveCallDebug">Save call debugging info: phone.saveCallDebug</a>
|
||||
* <a href="account_saveSecureValue.html" name="account_saveSecureValue">Save telegram passport secure value: account.saveSecureValue</a>
|
||||
* <a href="account_saveWallPaper.html" name="account_saveWallPaper">Save wallpaper: account.saveWallPaper</a>
|
||||
* <a href="contacts_search.html" name="contacts_search">Search contacts: contacts.search</a>
|
||||
* <a href="messages_searchGifs.html" name="messages_searchGifs">Search gifs: messages.searchGifs</a>
|
||||
* <a href="messages_search.html" name="messages_search">Search peers or messages: messages.search</a>
|
||||
* <a href="bots_sendCustomRequest.html" name="bots_sendCustomRequest">Send a custom request to the bot API: bots.sendCustomRequest</a>
|
||||
* <a href="messages_sendEncryptedFile.html" name="messages_sendEncryptedFile">Send a file to a secret chat: messages.sendEncryptedFile</a>
|
||||
* <a href="messages_sendMedia.html" name="messages_sendMedia">Send a media: messages.sendMedia</a>
|
||||
* <a href="messages_sendMessage.html" name="messages_sendMessage">Send a message: messages.sendMessage</a>
|
||||
* <a href="messages_sendEncryptedService.html" name="messages_sendEncryptedService">Send a service message to a secret chat: messages.sendEncryptedService</a>
|
||||
* <a href="messages_sendMultiMedia.html" name="messages_sendMultiMedia">Send an album: messages.sendMultiMedia</a>
|
||||
* <a href="auth_requestPasswordRecovery.html" name="auth_requestPasswordRecovery">Send an email to recover the 2FA password: auth.requestPasswordRecovery</a>
|
||||
* <a href="account_sendConfirmPhoneCode.html" name="account_sendConfirmPhoneCode">Send confirmation phone code: account.sendConfirmPhoneCode</a>
|
||||
* <a href="account_sendVerifyEmailCode.html" name="account_sendVerifyEmailCode">Send email verification code: account.sendVerifyEmailCode</a>
|
||||
* <a href="messages_sendInlineBotResult.html" name="messages_sendInlineBotResult">Send inline bot result obtained with messages.getInlineBotResults to the chat: messages.sendInlineBotResult</a>
|
||||
* <a href="messages_sendEncrypted.html" name="messages_sendEncrypted">Send message to secret chat: messages.sendEncrypted</a>
|
||||
* <a href="account_sendVerifyPhoneCode.html" name="account_sendVerifyPhoneCode">Send phone verification code: account.sendVerifyPhoneCode</a>
|
||||
* <a href="messages_sendScreenshotNotification.html" name="messages_sendScreenshotNotification">Send screenshot notification: messages.sendScreenshotNotification</a>
|
||||
* <a href="messages_setEncryptedTyping.html" name="messages_setEncryptedTyping">Send typing notification to secret chat: messages.setEncryptedTyping</a>
|
||||
* <a href="messages_sendVote.html" name="messages_sendVote">Send vote: messages.sendVote</a>
|
||||
* <a href="bots_answerWebhookJSONQuery.html" name="bots_answerWebhookJSONQuery">Send webhook request via bot API: bots.answerWebhookJSONQuery</a>
|
||||
* <a href="account_setAccountTTL.html" name="account_setAccountTTL">Set account TTL: account.setAccountTTL</a>
|
||||
* <a href="account_setContactSignUpNotification.html" name="account_setContactSignUpNotification">Set contact sign up notification: account.setContactSignUpNotification</a>
|
||||
* <a href="phone_setCallRating.html" name="phone_setCallRating">Set phone call rating: phone.setCallRating</a>
|
||||
* <a href="account_setPrivacy.html" name="account_setPrivacy">Set privacy settings: account.setPrivacy</a>
|
||||
* <a href="users_setSecureValueErrors.html" name="users_setSecureValueErrors">Set secure value error for telegram passport: users.setSecureValueErrors</a>
|
||||
* <a href="messages_setInlineGameScore.html" name="messages_setInlineGameScore">Set the game score of an inline message: messages.setInlineGameScore</a>
|
||||
* <a href="messages_setGameScore.html" name="messages_setGameScore">Set the game score: messages.setGameScore</a>
|
||||
* <a href="channels_setStickers.html" name="channels_setStickers">Set the supergroup/channel stickerpack: channels.setStickers</a>
|
||||
* <a href="help_setBotUpdatesStatus.html" name="help_setBotUpdatesStatus">Set the update status of webhook: help.setBotUpdatesStatus</a>
|
||||
* <a href="messages_startBot.html" name="messages_startBot">Start a bot: messages.startBot</a>
|
||||
* <a href="account_initTakeoutSession.html" name="account_initTakeoutSession">Start account exporting session: account.initTakeoutSession</a>
|
||||
* <a href="account_unregisterDevice.html" name="account_unregisterDevice">Stop sending PUSH notifications to app: account.unregisterDevice</a>
|
||||
* <a href="channels_toggleSignatures.html" name="channels_toggleSignatures">Toggle channel signatures: channels.toggleSignatures</a>
|
||||
* <a href="contacts_toggleTopPeers.html" name="contacts_toggleTopPeers">Toggle top peers: contacts.toggleTopPeers</a>
|
||||
* <a href="contacts_unblock.html" name="contacts_unblock">Unblock a user: contacts.unblock</a>
|
||||
* <a href="account_updateStatus.html" name="account_updateStatus">Update online status: account.updateStatus</a>
|
||||
* <a href="messages_updatePinnedMessage.html" name="messages_updatePinnedMessage">Update pinned message (private chat only): messages.updatePinnedMessage</a>
|
||||
* <a href="account_updateProfile.html" name="account_updateProfile">Update profile info: account.updateProfile</a>
|
||||
* <a href="channels_updateUsername.html" name="channels_updateUsername">Update the username of a supergroup/channel: channels.updateUsername</a>
|
||||
* <a href="account_updateUsername.html" name="account_updateUsername">Update this user's username: account.updateUsername</a>
|
||||
* <a href="messages_uploadMedia.html" name="messages_uploadMedia">Upload a file without sending it to anyone: messages.uploadMedia</a>
|
||||
* <a href="messages_uploadEncryptedFile.html" name="messages_uploadEncryptedFile">Upload a secret chat file without sending it to anyone: messages.uploadEncryptedFile</a>
|
||||
* <a href="photos_uploadProfilePhoto.html" name="photos_uploadProfilePhoto">Upload profile photo: photos.uploadProfilePhoto</a>
|
||||
* <a href="account_uploadWallPaper.html" name="account_uploadWallPaper">Upload wallpaper: account.uploadWallPaper</a>
|
||||
* <a href="auth_recoverPassword.html" name="auth_recoverPassword">Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account: auth.recoverPassword</a>
|
||||
* <a href="payments_validateRequestedInfo.html" name="payments_validateRequestedInfo">Validate requested payment info: payments.validateRequestedInfo</a>
|
||||
* <a href="account_verifyEmail.html" name="account_verifyEmail">Verify email address: account.verifyEmail</a>
|
||||
* <a href="account_verifyPhone.html" name="account_verifyPhone">Verify phone number: account.verifyPhone</a>
|
||||
* [Peers](https://docs.madelineproto.xyz/docs/USING_METHODS.html#peers)
|
||||
* [Files](https://docs.madelineproto.xyz/docs/FILES.html)
|
||||
* [Secret chats](https://docs.madelineproto.xyz/docs/USING_METHODS.html#secret-chats)
|
||||
* [Entities (Markdown & HTML)](https://docs.madelineproto.xyz/docs/USING_METHODS.html#entities)
|
||||
* [reply_markup (keyboards & inline keyboards)](https://docs.madelineproto.xyz/docs/USING_METHODS.html#reply_markup)
|
||||
* [bot API objects](https://docs.madelineproto.xyz/docs/USING_METHODS.html#bot-api-objects)
|
||||
* [No result](https://docs.madelineproto.xyz/docs/USING_METHODS.html#no-result)
|
||||
* [Queues](https://docs.madelineproto.xyz/docs/USING_METHODS.html#queues)
|
||||
* [Contributing](https://docs.madelineproto.xyz/docs/CONTRIB.html)
|
||||
* [Translation](https://docs.madelineproto.xyz/docs/CONTRIB.html#translation)
|
||||
* [Contribution guide](https://docs.madelineproto.xyz/docs/CONTRIB.html#contribution-guide)
|
||||
|
Loading…
Reference in New Issue
Block a user