Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Aug 15, 2024
1 parent 999eee6 commit ffea6f2
Show file tree
Hide file tree
Showing 66 changed files with 147 additions and 127 deletions.
4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.changeAuthorizationSettings.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Change settings related to a session.
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|confirmed|[Bool](/API_docs/types/Bool.html) | If set, [confirms a newly logged in session »](https://core.telegram.org/api/auth#confirming-login). | Optional|
|hash|Array of [long](/API_docs/types/long.html) | Session ID from the [authorization](../constructors/authorization.html) constructor, fetchable using [account.getAuthorizations](../methods/account.getAuthorizations.html) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | Session ID from the [authorization](../constructors/authorization.html) constructor, fetchable using [account.getAuthorizations](../methods/account.getAuthorizations.html) | Optional|
|encrypted\_requests\_disabled|[Bool](/API_docs/types/Bool.html) | Whether to enable or disable receiving encrypted chats: if the flag is not set, the previous setting is not changed | Optional|
|call\_requests\_disabled|[Bool](/API_docs/types/Bool.html) | Whether to enable or disable receiving calls: if the flag is not set, the previous setting is not changed | Optional|

Expand All @@ -40,6 +40,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$Bool = $MadelineProto->account->changeAuthorizationSettings(confirmed: $Bool, hash: [$long, $long], encrypted_requests_disabled: $Bool, call_requests_disabled: $Bool, );
$Bool = $MadelineProto->account->changeAuthorizationSettings(confirmed: $Bool, hash: [$long|string, $long|string], encrypted_requests_disabled: $Bool, call_requests_disabled: $Bool, );
```

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get a list of default suggested [channel emoji statuses](https://core.telegram.o

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.EmojiStatuses](/API_docs/types/account.EmojiStatuses.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_EmojiStatuses = $MadelineProto->account->getChannelDefaultEmojiStatuses(hash: [$long, $long], );
$account_EmojiStatuses = $MadelineProto->account->getChannelDefaultEmojiStatuses(hash: [$long|string, $long|string], );
```

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Returns fetch the full list of [custom emoji IDs »](https://core.telegram.org/a

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [EmojiList](/API_docs/types/EmojiList.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$EmojiList = $MadelineProto->account->getChannelRestrictedStatusEmojis(hash: [$long, $long], );
$EmojiList = $MadelineProto->account->getChannelRestrictedStatusEmojis(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getChatThemes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get all available chat [themes »](https://core.telegram.org/api/themes).

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.Themes](/API_docs/types/account.Themes.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_Themes = $MadelineProto->account->getChatThemes(hash: [$long, $long], );
$account_Themes = $MadelineProto->account->getChatThemes(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getDefaultBackgroundEmojis.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/cus

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [EmojiList](/API_docs/types/EmojiList.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$EmojiList = $MadelineProto->account->getDefaultBackgroundEmojis(hash: [$long, $long], );
$EmojiList = $MadelineProto->account->getDefaultBackgroundEmojis(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getDefaultEmojiStatuses.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get a list of default suggested [emoji statuses](https://core.telegram.org/api/e

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.EmojiStatuses](/API_docs/types/account.EmojiStatuses.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_EmojiStatuses = $MadelineProto->account->getDefaultEmojiStatuses(hash: [$long, $long], );
$account_EmojiStatuses = $MadelineProto->account->getDefaultEmojiStatuses(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getDefaultGroupPhotoEmojis.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/cus

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [EmojiList](/API_docs/types/EmojiList.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$EmojiList = $MadelineProto->account->getDefaultGroupPhotoEmojis(hash: [$long, $long], );
$EmojiList = $MadelineProto->account->getDefaultGroupPhotoEmojis(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getDefaultProfilePhotoEmojis.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get a set of suggested [custom emoji stickers](https://core.telegram.org/api/cus

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [EmojiList](/API_docs/types/EmojiList.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$EmojiList = $MadelineProto->account->getDefaultProfilePhotoEmojis(hash: [$long, $long], );
$EmojiList = $MadelineProto->account->getDefaultProfilePhotoEmojis(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getRecentEmojiStatuses.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get recently used [emoji statuses](https://core.telegram.org/api/emoji-status)

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.EmojiStatuses](/API_docs/types/account.EmojiStatuses.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_EmojiStatuses = $MadelineProto->account->getRecentEmojiStatuses(hash: [$long, $long], );
$account_EmojiStatuses = $MadelineProto->account->getRecentEmojiStatuses(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getSavedRingtones.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Fetch saved notification sounds

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.SavedRingtones](/API_docs/types/account.SavedRingtones.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_SavedRingtones = $MadelineProto->account->getSavedRingtones(hash: [$long, $long], );
$account_SavedRingtones = $MadelineProto->account->getSavedRingtones(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getThemes.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Get installed themes
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|format|[string](/API_docs/types/string.html) | Theme format, a string that identifies the theming engines supported by the client | Optional|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.Themes](/API_docs/types/account.Themes.html)
Expand All @@ -38,6 +38,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_Themes = $MadelineProto->account->getThemes(format: 'string', hash: [$long, $long], );
$account_Themes = $MadelineProto->account->getThemes(format: 'string', hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.getWallPapers.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Returns a list of available [wallpapers](https://core.telegram.org/api/wallpaper

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [account.WallPapers](/API_docs/types/account.WallPapers.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$account_WallPapers = $MadelineProto->account->getWallPapers(hash: [$long, $long], );
$account_WallPapers = $MadelineProto->account->getWallPapers(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.resetAuthorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Log out an active [authorized session](https://core.telegram.org/api/auth) by it

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | Session hash | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | Session hash | Optional|


### Return type: [Bool](/API_docs/types/Bool.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$Bool = $MadelineProto->account->resetAuthorization(hash: [$long, $long], );
$Bool = $MadelineProto->account->resetAuthorization(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/account.resetWebAuthorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Log out an active web [telegram login](https://core.telegram.org/widgets/login)

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Session](../constructors/webAuthorization.html) hash | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Session](../constructors/webAuthorization.html) hash | Optional|


### Return type: [Bool](/API_docs/types/Bool.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$Bool = $MadelineProto->account->resetWebAuthorization(hash: [$long, $long], );
$Bool = $MadelineProto->account->resetWebAuthorization(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/channels.getParticipants.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Get the participants of a [supergroup/channel](https://core.telegram.org/api/cha
|filter|[ChannelParticipantsFilter](/API_docs/types/ChannelParticipantsFilter.html) | Which participant types to fetch | Yes|
|offset|[int](/API_docs/types/int.html) | [Offset](https://core.telegram.org/api/offsets) | Optional|
|limit|[int](/API_docs/types/int.html) | [Limit](https://core.telegram.org/api/offsets) | Optional|
|hash|Array of [long](/API_docs/types/long.html) | [Hash](https://core.telegram.org/api/offsets) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash](https://core.telegram.org/api/offsets) | Optional|


### Return type: [channels.ChannelParticipants](/API_docs/types/channels.ChannelParticipants.html)
Expand All @@ -41,6 +41,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(channel: $InputChannel, filter: $ChannelParticipantsFilter, offset: $int, limit: $int, hash: [$long, $long], );
$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(channel: $InputChannel, filter: $ChannelParticipantsFilter, offset: $int, limit: $int, hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/contacts.getContactIDs.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Returns an array of Telegram user IDs for all contacts (0 if a contact does not

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [Vector\_of\_int](/API_docs/types/int.html)
Expand All @@ -38,6 +38,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$Vector_of_int = $MadelineProto->contacts->getContactIDs(hash: [$long, $long], );
$Vector_of_int = $MadelineProto->contacts->getContactIDs(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/contacts.getContacts.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Returns the current user's contact list.

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | If there already is a full contact list on the client, a [hash](https://core.telegram.org/api/offsets#hash-generation) of a the list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, [(contacts.contactsNotModified)](../constructors/contacts.contactsNotModified.html) will be returned. | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | If there already is a full contact list on the client, a [hash](https://core.telegram.org/api/offsets#hash-generation) of a the list of contact IDs in ascending order may be passed in this parameter. If the contact set was not changed, [(contacts.contactsNotModified)](../constructors/contacts.contactsNotModified.html) will be returned. | Optional|


### Return type: [contacts.Contacts](/API_docs/types/contacts.Contacts.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$contacts_Contacts = $MadelineProto->contacts->getContacts(hash: [$long, $long], );
$contacts_Contacts = $MadelineProto->contacts->getContacts(hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/contacts.getTopPeers.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Get most used peers
|bots\_app|[Bool](/API_docs/types/Bool.html) | | Optional|
|offset|[int](/API_docs/types/int.html) | Offset for [pagination](https://core.telegram.org/api/offsets) | Optional|
|limit|[int](/API_docs/types/int.html) | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets) | Optional|
|hash|Array of [long](/API_docs/types/long.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | [Hash for pagination, for more info click here](https://core.telegram.org/api/offsets#hash-generation) | Optional|


### Return type: [contacts.TopPeers](/API_docs/types/contacts.TopPeers.html)
Expand All @@ -48,6 +48,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(correspondents: $Bool, bots_pm: $Bool, bots_inline: $Bool, phone_calls: $Bool, forward_users: $Bool, forward_chats: $Bool, groups: $Bool, channels: $Bool, bots_app: $Bool, offset: $int, limit: $int, hash: [$long, $long], );
$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(correspondents: $Bool, bots_pm: $Bool, bots_inline: $Bool, phone_calls: $Bool, forward_users: $Bool, forward_chats: $Bool, groups: $Bool, channels: $Bool, bots_app: $Bool, offset: $int, limit: $int, hash: [$long|string, $long|string], );
```

4 changes: 2 additions & 2 deletions docs/API_docs/methods/help.getAppConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Get app-specific configuration, see [client configuration](https://core.telegram

| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|hash|Array of [long](/API_docs/types/long.html) | | Optional|
|hash|Array of [long|string](/API_docs/types/long|string.html) | | Optional|


### Return type: [help.AppConfig](/API_docs/types/help.AppConfig.html)
Expand All @@ -37,6 +37,6 @@ include 'madeline.php';
$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$help_AppConfig = $MadelineProto->help->getAppConfig(hash: [$long, $long], );
$help_AppConfig = $MadelineProto->help->getAppConfig(hash: [$long|string, $long|string], );
```

Loading

0 comments on commit ffea6f2

Please sign in to comment.