mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:45:01 +01:00
Compare commits
5 Commits
fb74a64fbc
...
9397379e8f
Author | SHA1 | Date | |
---|---|---|---|
9397379e8f | |||
c337762698 | |||
353dc0dfa7 | |||
|
5dc97c91cd | ||
|
7996b20889 |
@ -51,7 +51,7 @@ final class API extends AbstractAPI
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE = '8.3.5';
|
||||
public const RELEASE = '8.3.6';
|
||||
/**
|
||||
* We're not logged in.
|
||||
*
|
||||
|
@ -40,13 +40,13 @@ abstract class CallbackQuery extends Update
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $message Popup to show
|
||||
* @param ?string $message Popup to show
|
||||
* @param bool $alert Whether to show the message as a popup instead of a toast notification
|
||||
* @param string|null $url URL to open
|
||||
* @param int $cacheTime Cache validity (default set to 5 min based on telegram official docs ...)
|
||||
*/
|
||||
public function answer(
|
||||
string $message,
|
||||
?string $message = null,
|
||||
bool $alert = false,
|
||||
?string $url = null,
|
||||
int $cacheTime = 5 * 60
|
||||
|
Loading…
Reference in New Issue
Block a user