mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-11-26 12:25:08 +01:00
Bump
This commit is contained in:
parent
4b7c4dcf94
commit
5fb6a2e2ec
@ -32,6 +32,7 @@ Full info about a [channel](https://core.telegram.org/api/channel#channels), [su
|
||||
|restricted\_sponsored|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|can\_view\_revenue|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|paid\_media\_allowed|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|can\_view\_stars\_revenue|[Bool](/API_docs/types/Bool.html) | Optional|
|
||||
|id|[long](/API_docs/types/long.html) | Yes|ID of the channel|
|
||||
|about|[string](/API_docs/types/string.html) | Yes|Info about the channel|
|
||||
|participants\_count|[int](/API_docs/types/int.html) | Optional|Number of participants of the channel|
|
||||
@ -82,5 +83,5 @@ Full info about a [channel](https://core.telegram.org/api/channel#channels), [su
|
||||
### Example:
|
||||
|
||||
```
|
||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'can_view_stats' => Bool, 'blocked' => Bool, 'can_delete_channel' => Bool, 'antispam' => Bool, 'participants_hidden' => Bool, 'translations_disabled' => Bool, 'stories_pinned_available' => Bool, 'view_forum_as_messages' => Bool, 'restricted_sponsored' => Bool, 'can_view_revenue' => Bool, 'paid_media_allowed' => Bool, 'id' => long, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => long, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => long, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'stats_dc' => int, 'pts' => int, 'call' => InputGroupCall, 'ttl_period' => int, 'pending_suggestions' => ['string', 'string'], 'groupcall_default_join_as' => Peer, 'theme_emoticon' => 'string', 'requests_pending' => int, 'recent_requesters' => [long, long], 'default_send_as' => Peer, 'available_reactions' => ChatReactions, 'reactions_limit' => int, 'stories' => PeerStories, 'wallpaper' => WallPaper, 'boosts_applied' => int, 'boosts_unrestrict' => int, 'emojiset' => StickerSet];
|
||||
$channelFull = ['_' => 'channelFull', 'can_view_participants' => Bool, 'can_set_username' => Bool, 'can_set_stickers' => Bool, 'hidden_prehistory' => Bool, 'can_set_location' => Bool, 'has_scheduled' => Bool, 'can_view_stats' => Bool, 'blocked' => Bool, 'can_delete_channel' => Bool, 'antispam' => Bool, 'participants_hidden' => Bool, 'translations_disabled' => Bool, 'stories_pinned_available' => Bool, 'view_forum_as_messages' => Bool, 'restricted_sponsored' => Bool, 'can_view_revenue' => Bool, 'paid_media_allowed' => Bool, 'can_view_stars_revenue' => Bool, 'id' => long, 'about' => 'string', 'participants_count' => int, 'admins_count' => int, 'kicked_count' => int, 'banned_count' => int, 'online_count' => int, 'read_inbox_max_id' => int, 'read_outbox_max_id' => int, 'unread_count' => int, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'migrated_from_chat_id' => long, 'migrated_from_max_id' => int, 'pinned_msg_id' => int, 'stickerset' => StickerSet, 'available_min_id' => int, 'folder_id' => int, 'linked_chat_id' => long, 'location' => ChannelLocation, 'slowmode_seconds' => int, 'slowmode_next_send_date' => int, 'stats_dc' => int, 'pts' => int, 'call' => InputGroupCall, 'ttl_period' => int, 'pending_suggestions' => ['string', 'string'], 'groupcall_default_join_as' => Peer, 'theme_emoticon' => 'string', 'requests_pending' => int, 'recent_requesters' => [long, long], 'default_send_as' => Peer, 'available_reactions' => ChatReactions, 'reactions_limit' => int, 'stories' => PeerStories, 'wallpaper' => WallPaper, 'boosts_applied' => int, 'boosts_unrestrict' => int, 'emojiset' => StickerSet];
|
||||
```
|
||||
|
@ -548,7 +548,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
<br><br>[$channelForbidden](/API_docs/constructors/channelForbidden.html) = \['broadcast' => [Bool](/API_docs/types/Bool.html), 'megagroup' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'access_hash' => [long](/API_docs/types/long.html), 'title' => [string](/API_docs/types/string.html), 'until_date' => [int](/API_docs/types/int.html), \];<a name="channelForbidden"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelFull](/API_docs/constructors/channelFull.html) = \['can_view_participants' => [Bool](/API_docs/types/Bool.html), 'can_set_username' => [Bool](/API_docs/types/Bool.html), 'can_set_stickers' => [Bool](/API_docs/types/Bool.html), 'hidden_prehistory' => [Bool](/API_docs/types/Bool.html), 'can_set_location' => [Bool](/API_docs/types/Bool.html), 'has_scheduled' => [Bool](/API_docs/types/Bool.html), 'can_view_stats' => [Bool](/API_docs/types/Bool.html), 'blocked' => [Bool](/API_docs/types/Bool.html), 'can_delete_channel' => [Bool](/API_docs/types/Bool.html), 'antispam' => [Bool](/API_docs/types/Bool.html), 'participants_hidden' => [Bool](/API_docs/types/Bool.html), 'translations_disabled' => [Bool](/API_docs/types/Bool.html), 'stories_pinned_available' => [Bool](/API_docs/types/Bool.html), 'view_forum_as_messages' => [Bool](/API_docs/types/Bool.html), 'restricted_sponsored' => [Bool](/API_docs/types/Bool.html), 'can_view_revenue' => [Bool](/API_docs/types/Bool.html), 'paid_media_allowed' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'about' => [string](/API_docs/types/string.html), 'participants_count' => [int](/API_docs/types/int.html), 'admins_count' => [int](/API_docs/types/int.html), 'kicked_count' => [int](/API_docs/types/int.html), 'banned_count' => [int](/API_docs/types/int.html), 'online_count' => [int](/API_docs/types/int.html), 'read_inbox_max_id' => [int](/API_docs/types/int.html), 'read_outbox_max_id' => [int](/API_docs/types/int.html), 'unread_count' => [int](/API_docs/types/int.html), 'chat_photo' => [Photo](/API_docs/types/Photo.html), 'notify_settings' => [PeerNotifySettings](/API_docs/types/PeerNotifySettings.html), 'exported_invite' => [ExportedChatInvite](/API_docs/types/ExportedChatInvite.html), 'bot_info' => \[[BotInfo](/API_docs/types/BotInfo.html)\], 'migrated_from_chat_id' => [long](/API_docs/types/long.html), 'migrated_from_max_id' => [int](/API_docs/types/int.html), 'pinned_msg_id' => [int](/API_docs/types/int.html), 'stickerset' => [StickerSet](/API_docs/types/StickerSet.html), 'available_min_id' => [int](/API_docs/types/int.html), 'folder_id' => [int](/API_docs/types/int.html), 'linked_chat_id' => [long](/API_docs/types/long.html), 'location' => [ChannelLocation](/API_docs/types/ChannelLocation.html), 'slowmode_seconds' => [int](/API_docs/types/int.html), 'slowmode_next_send_date' => [int](/API_docs/types/int.html), 'stats_dc' => [int](/API_docs/types/int.html), 'pts' => [int](/API_docs/types/int.html), 'call' => [InputGroupCall](/API_docs/types/InputGroupCall.html), 'ttl_period' => [int](/API_docs/types/int.html), 'pending_suggestions' => \[[string](/API_docs/types/string.html)\], 'groupcall_default_join_as' => [Peer](/API_docs/types/Peer.html), 'theme_emoticon' => [string](/API_docs/types/string.html), 'requests_pending' => [int](/API_docs/types/int.html), 'recent_requesters' => \[[long](/API_docs/types/long.html)\], 'default_send_as' => [Peer](/API_docs/types/Peer.html), 'available_reactions' => [ChatReactions](/API_docs/types/ChatReactions.html), 'reactions_limit' => [int](/API_docs/types/int.html), 'stories' => [PeerStories](/API_docs/types/PeerStories.html), 'wallpaper' => [WallPaper](/API_docs/types/WallPaper.html), 'boosts_applied' => [int](/API_docs/types/int.html), 'boosts_unrestrict' => [int](/API_docs/types/int.html), 'emojiset' => [StickerSet](/API_docs/types/StickerSet.html), \];<a name="channelFull"></a>
|
||||
<br><br>[$channelFull](/API_docs/constructors/channelFull.html) = \['can_view_participants' => [Bool](/API_docs/types/Bool.html), 'can_set_username' => [Bool](/API_docs/types/Bool.html), 'can_set_stickers' => [Bool](/API_docs/types/Bool.html), 'hidden_prehistory' => [Bool](/API_docs/types/Bool.html), 'can_set_location' => [Bool](/API_docs/types/Bool.html), 'has_scheduled' => [Bool](/API_docs/types/Bool.html), 'can_view_stats' => [Bool](/API_docs/types/Bool.html), 'blocked' => [Bool](/API_docs/types/Bool.html), 'can_delete_channel' => [Bool](/API_docs/types/Bool.html), 'antispam' => [Bool](/API_docs/types/Bool.html), 'participants_hidden' => [Bool](/API_docs/types/Bool.html), 'translations_disabled' => [Bool](/API_docs/types/Bool.html), 'stories_pinned_available' => [Bool](/API_docs/types/Bool.html), 'view_forum_as_messages' => [Bool](/API_docs/types/Bool.html), 'restricted_sponsored' => [Bool](/API_docs/types/Bool.html), 'can_view_revenue' => [Bool](/API_docs/types/Bool.html), 'paid_media_allowed' => [Bool](/API_docs/types/Bool.html), 'can_view_stars_revenue' => [Bool](/API_docs/types/Bool.html), 'id' => [long](/API_docs/types/long.html), 'about' => [string](/API_docs/types/string.html), 'participants_count' => [int](/API_docs/types/int.html), 'admins_count' => [int](/API_docs/types/int.html), 'kicked_count' => [int](/API_docs/types/int.html), 'banned_count' => [int](/API_docs/types/int.html), 'online_count' => [int](/API_docs/types/int.html), 'read_inbox_max_id' => [int](/API_docs/types/int.html), 'read_outbox_max_id' => [int](/API_docs/types/int.html), 'unread_count' => [int](/API_docs/types/int.html), 'chat_photo' => [Photo](/API_docs/types/Photo.html), 'notify_settings' => [PeerNotifySettings](/API_docs/types/PeerNotifySettings.html), 'exported_invite' => [ExportedChatInvite](/API_docs/types/ExportedChatInvite.html), 'bot_info' => \[[BotInfo](/API_docs/types/BotInfo.html)\], 'migrated_from_chat_id' => [long](/API_docs/types/long.html), 'migrated_from_max_id' => [int](/API_docs/types/int.html), 'pinned_msg_id' => [int](/API_docs/types/int.html), 'stickerset' => [StickerSet](/API_docs/types/StickerSet.html), 'available_min_id' => [int](/API_docs/types/int.html), 'folder_id' => [int](/API_docs/types/int.html), 'linked_chat_id' => [long](/API_docs/types/long.html), 'location' => [ChannelLocation](/API_docs/types/ChannelLocation.html), 'slowmode_seconds' => [int](/API_docs/types/int.html), 'slowmode_next_send_date' => [int](/API_docs/types/int.html), 'stats_dc' => [int](/API_docs/types/int.html), 'pts' => [int](/API_docs/types/int.html), 'call' => [InputGroupCall](/API_docs/types/InputGroupCall.html), 'ttl_period' => [int](/API_docs/types/int.html), 'pending_suggestions' => \[[string](/API_docs/types/string.html)\], 'groupcall_default_join_as' => [Peer](/API_docs/types/Peer.html), 'theme_emoticon' => [string](/API_docs/types/string.html), 'requests_pending' => [int](/API_docs/types/int.html), 'recent_requesters' => \[[long](/API_docs/types/long.html)\], 'default_send_as' => [Peer](/API_docs/types/Peer.html), 'available_reactions' => [ChatReactions](/API_docs/types/ChatReactions.html), 'reactions_limit' => [int](/API_docs/types/int.html), 'stories' => [PeerStories](/API_docs/types/PeerStories.html), 'wallpaper' => [WallPaper](/API_docs/types/WallPaper.html), 'boosts_applied' => [int](/API_docs/types/int.html), 'boosts_unrestrict' => [int](/API_docs/types/int.html), 'emojiset' => [StickerSet](/API_docs/types/StickerSet.html), \];<a name="channelFull"></a>
|
||||
|
||||
***
|
||||
<br><br>[$channelLocation](/API_docs/constructors/channelLocation.html) = \['geo_point' => [GeoPoint](/API_docs/types/GeoPoint.html), 'address' => [string](/API_docs/types/string.html), \];<a name="channelLocation"></a>
|
||||
@ -2002,6 +2002,9 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
***
|
||||
<br><br>[$messageActionInviteToGroupCall](/API_docs/constructors/messageActionInviteToGroupCall.html) = \['call' => [InputGroupCall](/API_docs/types/InputGroupCall.html), 'users' => \[[long](/API_docs/types/long.html)\], \];<a name="messageActionInviteToGroupCall"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionPaymentRefunded](/API_docs/constructors/messageActionPaymentRefunded.html) = \['peer' => [long](/API_docs/types/long.html), 'currency' => [string](/API_docs/types/string.html), 'total_amount' => [long](/API_docs/types/long.html), 'payload' => [bytes](/API_docs/types/bytes.html), 'charge' => [PaymentCharge](/API_docs/types/PaymentCharge.html), \];<a name="messageActionPaymentRefunded"></a>
|
||||
|
||||
***
|
||||
<br><br>[$messageActionPaymentSent](/API_docs/constructors/messageActionPaymentSent.html) = \['recurring_init' => [Bool](/API_docs/types/Bool.html), 'recurring_used' => [Bool](/API_docs/types/Bool.html), 'currency' => [string](/API_docs/types/string.html), 'total_amount' => [long](/API_docs/types/long.html), 'invoice_slug' => [string](/API_docs/types/string.html), \];<a name="messageActionPaymentSent"></a>
|
||||
|
||||
|
31
docs/API_docs/constructors/messageActionPaymentRefunded.md
Normal file
31
docs/API_docs/constructors/messageActionPaymentRefunded.md
Normal file
@ -0,0 +1,31 @@
|
||||
---
|
||||
title: "messageActionPaymentRefunded"
|
||||
description: "messageActionPaymentRefunded attributes, type and example"
|
||||
nav_exclude: true
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
---
|
||||
# Constructor: messageActionPaymentRefunded
|
||||
[Back to constructors index](/API_docs/constructors/index.html)
|
||||
|
||||
|
||||
|
||||
### Attributes:
|
||||
|
||||
| Name | Type | Required |
|
||||
|----------|---------------|----------|
|
||||
|peer|[long](/API_docs/types/long.html) | Yes|
|
||||
|currency|[string](/API_docs/types/string.html) | Yes|
|
||||
|total\_amount|[long](/API_docs/types/long.html) | Yes|
|
||||
|payload|[bytes](/API_docs/types/bytes.html) | Optional|
|
||||
|charge|[PaymentCharge](/API_docs/types/PaymentCharge.html) | Yes|
|
||||
|
||||
|
||||
|
||||
### Type: [MessageAction](/API_docs/types/MessageAction.html)
|
||||
|
||||
|
||||
### Example:
|
||||
|
||||
```
|
||||
$messageActionPaymentRefunded = ['_' => 'messageActionPaymentRefunded', 'peer' => long, 'currency' => 'string', 'total_amount' => long, 'payload' => 'bytes', 'charge' => PaymentCharge];
|
||||
```
|
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Telegram RPC API"
|
||||
description: "MadelineProto API documentation (layer 183)"
|
||||
description: "MadelineProto API documentation (layer 184)"
|
||||
has_children: true
|
||||
has_toc: false
|
||||
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
@ -97,6 +97,8 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
[messageActionRequestedPeerSentMe](/API_docs/constructors/messageActionRequestedPeerSentMe.html)
|
||||
|
||||
[messageActionPaymentRefunded](/API_docs/constructors/messageActionPaymentRefunded.html)
|
||||
|
||||
|
||||
|
||||
### Methods that return an object of this type (methods):
|
||||
|
@ -130,7 +130,7 @@ Main API wrapper for MadelineProto.
|
||||
* [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock)
|
||||
* [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated)
|
||||
* [`fullGetSelf(): array|false`](#fullGetSelf)
|
||||
* [`genVectorHash(array<(int|string)> $longs): string`](#genVectorHash)
|
||||
* [`genVectorHash(array $longs): string`](#genVectorHash)
|
||||
* [`getAdminIds(): array`](#getAdminIds)
|
||||
* [`getAllCalls(): array<int, \danog\MadelineProto\VoIP>`](#getAllCalls)
|
||||
* [`getAllMethods(): array`](#getAllMethods)
|
||||
@ -1092,7 +1092,7 @@ Get info about the logged-in user, not cached.
|
||||
|
||||
|
||||
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array<(int|string)> $longs): string`
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array $longs): string`
|
||||
|
||||
Generate MTProto vector hash.
|
||||
|
||||
@ -1101,7 +1101,7 @@ Returns a vector hash.
|
||||
|
||||
Parameters:
|
||||
|
||||
* `$longs`: `array<(int|string)>` IDs
|
||||
* `$longs`: `array` IDs
|
||||
|
||||
|
||||
|
||||
|
@ -95,7 +95,7 @@ Event handler.
|
||||
* [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock)
|
||||
* [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated)
|
||||
* [`fullGetSelf(): array|false`](#fullGetSelf)
|
||||
* [`genVectorHash(array<(int|string)> $longs): string`](#genVectorHash)
|
||||
* [`genVectorHash(array $longs): string`](#genVectorHash)
|
||||
* [`getAdminIds(): array`](#getAdminIds)
|
||||
* [`getAllCalls(): array<int, \danog\MadelineProto\VoIP>`](#getAllCalls)
|
||||
* [`getAllMethods(): array`](#getAllMethods)
|
||||
@ -1100,7 +1100,7 @@ Get info about the logged-in user, not cached.
|
||||
|
||||
|
||||
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array<(int|string)> $longs): string`
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array $longs): string`
|
||||
|
||||
Generate MTProto vector hash.
|
||||
|
||||
@ -1109,7 +1109,7 @@ Returns a vector hash.
|
||||
|
||||
Parameters:
|
||||
|
||||
* `$longs`: `array<(int|string)>` IDs
|
||||
* `$longs`: `array` IDs
|
||||
|
||||
|
||||
|
||||
|
@ -97,7 +97,7 @@ Plugin that offers a /restart command to admins that can be used to restart the
|
||||
* [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock)
|
||||
* [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated)
|
||||
* [`fullGetSelf(): array|false`](#fullGetSelf)
|
||||
* [`genVectorHash(array<(int|string)> $longs): string`](#genVectorHash)
|
||||
* [`genVectorHash(array $longs): string`](#genVectorHash)
|
||||
* [`getAdminIds(): array`](#getAdminIds)
|
||||
* [`getAllCalls(): array<int, \danog\MadelineProto\VoIP>`](#getAllCalls)
|
||||
* [`getAllMethods(): array`](#getAllMethods)
|
||||
@ -1116,7 +1116,7 @@ Get info about the logged-in user, not cached.
|
||||
|
||||
|
||||
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array<(int|string)> $longs): string`
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array $longs): string`
|
||||
|
||||
Generate MTProto vector hash.
|
||||
|
||||
@ -1125,7 +1125,7 @@ Returns a vector hash.
|
||||
|
||||
Parameters:
|
||||
|
||||
* `$longs`: `array<(int|string)>` IDs
|
||||
* `$longs`: `array` IDs
|
||||
|
||||
|
||||
|
||||
|
@ -96,7 +96,7 @@ Plugin event handler class.
|
||||
* [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock)
|
||||
* [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated)
|
||||
* [`fullGetSelf(): array|false`](#fullGetSelf)
|
||||
* [`genVectorHash(array<(int|string)> $longs): string`](#genVectorHash)
|
||||
* [`genVectorHash(array $longs): string`](#genVectorHash)
|
||||
* [`getAdminIds(): array`](#getAdminIds)
|
||||
* [`getAllCalls(): array<int, \danog\MadelineProto\VoIP>`](#getAllCalls)
|
||||
* [`getAllMethods(): array`](#getAllMethods)
|
||||
@ -1099,7 +1099,7 @@ Get info about the logged-in user, not cached.
|
||||
|
||||
|
||||
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array<(int|string)> $longs): string`
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array $longs): string`
|
||||
|
||||
Generate MTProto vector hash.
|
||||
|
||||
@ -1108,7 +1108,7 @@ Returns a vector hash.
|
||||
|
||||
Parameters:
|
||||
|
||||
* `$longs`: `array<(int|string)>` IDs
|
||||
* `$longs`: `array` IDs
|
||||
|
||||
|
||||
|
||||
|
@ -95,7 +95,7 @@ Simple event handler class: by extending this class, you can use filters, crons
|
||||
* [`flock(string $file, integer $operation, float $polling = 0.1, ?\Amp\Cancellation $token = NULL, ?\Closure $failureCb = NULL): ($token is null ? Closure(): void : (Closure(): void | null))`](#flock)
|
||||
* [`fullChatLastUpdated(mixed $id): int`](#fullChatLastUpdated)
|
||||
* [`fullGetSelf(): array|false`](#fullGetSelf)
|
||||
* [`genVectorHash(array<(int|string)> $longs): string`](#genVectorHash)
|
||||
* [`genVectorHash(array $longs): string`](#genVectorHash)
|
||||
* [`getAdminIds(): array`](#getAdminIds)
|
||||
* [`getAllCalls(): array<int, \danog\MadelineProto\VoIP>`](#getAllCalls)
|
||||
* [`getAllMethods(): array`](#getAllMethods)
|
||||
@ -1100,7 +1100,7 @@ Get info about the logged-in user, not cached.
|
||||
|
||||
|
||||
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array<(int|string)> $longs): string`
|
||||
### <a name="genVectorHash"></a> `genVectorHash(array $longs): string`
|
||||
|
||||
Generate MTProto vector hash.
|
||||
|
||||
@ -1109,7 +1109,7 @@ Returns a vector hash.
|
||||
|
||||
Parameters:
|
||||
|
||||
* `$longs`: `array<(int|string)>` IDs
|
||||
* `$longs`: `array` IDs
|
||||
|
||||
|
||||
|
||||
|
@ -8,7 +8,7 @@ image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||||
|
||||
There are simplifications for many, if not all of, these methods.
|
||||
|
||||
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 183)](https://docs.madelineproto.xyz/API_docs/).
|
||||
A list of all of the methods that can be called with MadelineProto can be found here: [here (layer 184)](https://docs.madelineproto.xyz/API_docs/).
|
||||
|
||||
[Now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)
|
||||
|
||||
|
@ -82,6 +82,7 @@ Some of MadelineProto's core components are also available as separate, standalo
|
||||
- [danog/tg-file-decoder](https://github.com/danog/tg-file-decoder) - A library to work with Telegram bot API file IDs.
|
||||
- [danog/tg-dialog-id](https://github.com/danog/tg-dialog-id) - A library to work with Telegram bot API dialog IDs.
|
||||
- [danog/loop](https://github.com/danog/loop) - Loop/actor model abstraction for AMPHP.
|
||||
- [danog/better-prometheus](https://github.com/danog/better-prometheus) - A better Prometheus library for PHP applications.
|
||||
- [danog/ipc](https://github.com/danog/ipc) - Async IPC component for AMPHP.
|
||||
- [danog/dns-over-https](https://github.com/danog/dns-over-https) - Async DNS-over-HTTPS resolution for AMPHP.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user