Some templates
This commit is contained in:
parent
eca8542be4
commit
bda520122d
@ -44,7 +44,6 @@
|
|||||||
"amphp/websocket-client": "^1.0"
|
"amphp/websocket-client": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"danog/class-finder": "dev-master",
|
|
||||||
"phpdocumentor/reflection-docblock": "^5.2",
|
"phpdocumentor/reflection-docblock": "^5.2",
|
||||||
"vlucas/phpdotenv": "^3",
|
"vlucas/phpdotenv": "^3",
|
||||||
"ennexa/amp-update-cache": "dev-master",
|
"ennexa/amp-update-cache": "dev-master",
|
||||||
@ -57,8 +56,8 @@
|
|||||||
"danog/7to5": "^1",
|
"danog/7to5": "^1",
|
||||||
"vimeo/psalm": "dev-master",
|
"vimeo/psalm": "dev-master",
|
||||||
"phpstan/phpstan": "^0.12.14",
|
"phpstan/phpstan": "^0.12.14",
|
||||||
"friendsofphp/php-cs-fixer": "dev-master",
|
"friendsofphp/php-cs-fixer": "^2.16",
|
||||||
"danog/phpdoc": "^0.1"
|
"danog/phpdoc": "^0.1.7"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"ext-libtgvoip": "Install the php-libtgvoip extension to make phone calls (https://github.com/danog/php-libtgvoip)"
|
"ext-libtgvoip": "Install the php-libtgvoip extension to make phone calls (https://github.com/danog/php-libtgvoip)"
|
||||||
|
2
docs
2
docs
@ -1 +1 @@
|
|||||||
Subproject commit 0510e69e08411194203f4034b6d4b3e3232aea75
|
Subproject commit e83c3ea026fc2142b6558378d0c9636c8c29f248
|
@ -5273,7 +5273,13 @@ class InternalDoc extends APIFactory
|
|||||||
*
|
*
|
||||||
* @return \Amp\Promise Info object
|
* @return \Amp\Promise Info object
|
||||||
*
|
*
|
||||||
|
* @template TConstructor
|
||||||
|
* @psalm-param $id array{_: TConstructor}|mixed
|
||||||
|
*
|
||||||
|
* @return (((mixed|string)[]|mixed|string)[]|int|mixed|string)[]
|
||||||
|
*
|
||||||
* @psalm-return \Generator<int|mixed, \Amp\Promise|\Amp\Promise<string>|array, mixed, array{
|
* @psalm-return \Generator<int|mixed, \Amp\Promise|\Amp\Promise<string>|array, mixed, array{
|
||||||
|
* TConstructor: array
|
||||||
* InputPeer: array{_: string, user_id?: mixed, access_hash?: mixed, min?: mixed, chat_id?: mixed, channel_id?: mixed},
|
* InputPeer: array{_: string, user_id?: mixed, access_hash?: mixed, min?: mixed, chat_id?: mixed, channel_id?: mixed},
|
||||||
* Peer: array{_: string, user_id?: mixed, chat_id?: mixed, channel_id?: mixed},
|
* Peer: array{_: string, user_id?: mixed, chat_id?: mixed, channel_id?: mixed},
|
||||||
* DialogPeer: array{_: string, peer: array{_: string, user_id?: mixed, chat_id?: mixed, channel_id?: mixed}},
|
* DialogPeer: array{_: string, peer: array{_: string, user_id?: mixed, chat_id?: mixed, channel_id?: mixed}},
|
||||||
@ -5385,7 +5391,7 @@ class InternalDoc extends APIFactory
|
|||||||
*
|
*
|
||||||
* @see https://docs.madelineproto.xyz/Chat.html
|
* @see https://docs.madelineproto.xyz/Chat.html
|
||||||
*
|
*
|
||||||
* @return \Amp\Promise<array> Chat object
|
* @return \Amp\Promise Chat object
|
||||||
*/
|
*/
|
||||||
public function getPwrChat($id, bool $fullfetch = true, bool $send = true, array $extra = [])
|
public function getPwrChat($id, bool $fullfetch = true, bool $send = true, array $extra = [])
|
||||||
{
|
{
|
||||||
|
@ -105,7 +105,7 @@ class OutgoingMessage extends Message
|
|||||||
private bool $fileRelated = false;
|
private bool $fileRelated = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom flood wait limit for this bot
|
* Custom flood wait limit for this bot.
|
||||||
*/
|
*/
|
||||||
private ?int $floodWaitLimit = null;
|
private ?int $floodWaitLimit = null;
|
||||||
|
|
||||||
@ -578,7 +578,7 @@ class OutgoingMessage extends Message
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get custom flood wait limit for this bot
|
* Get custom flood wait limit for this bot.
|
||||||
*
|
*
|
||||||
* @return ?int
|
* @return ?int
|
||||||
*/
|
*/
|
||||||
@ -588,7 +588,7 @@ class OutgoingMessage extends Message
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set custom flood wait limit for this bot
|
* Set custom flood wait limit for this bot.
|
||||||
*
|
*
|
||||||
* @param ?int $floodWaitLimit Custom flood wait limit for this bot
|
* @param ?int $floodWaitLimit Custom flood wait limit for this bot
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user