Skip to content

Commit

Permalink
Merge pull request #1581 from mtalaeii/v8
Browse files Browse the repository at this point in the history
Update CallbackQuery.php
  • Loading branch information
danog authored Nov 15, 2024
2 parents ea800e8 + 5dc97c9 commit 353dc0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EventHandler/CallbackQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ public function __construct(MTProto $API, array $rawCallback)
}

/**
* @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
Expand Down

0 comments on commit 353dc0d

Please sign in to comment.