Skip to content

Commit

Permalink
Updated comment from documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
TiiFuchs committed May 29, 2022
1 parent 34ea2a3 commit adb3c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Telegram/CallbackQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class CallbackQuery extends Type
/** Optional. Identifier of the message sent via the bot in inline mode, that originated the query. */
public ?string $inline_message_id = null;

/** Optional. Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field. */
/** Optional. Data associated with the callback button. Be aware that the message, which originated the query, can contain no callback buttons with this data. */
public ?string $data = null;

/** Optional. Short name of a Game to be returned, serves as the unique identifier for the game */
Expand All @@ -40,7 +40,7 @@ class CallbackQuery extends Type
* @param string $chat_instance Global identifier, uniquely corresponding to the chat to which the message with the callback button was sent. Useful for high scores in games.
* @param Message $message Optional. Message with the callback button that originated the query. Note that message content and message date will not be available if the message is too old
* @param string $inline_message_id Optional. Identifier of the message sent via the bot in inline mode, that originated the query.
* @param string $data Optional. Data associated with the callback button. Be aware that a bad client can send arbitrary data in this field.
* @param string $data Optional. Data associated with the callback button. Be aware that the message, which originated the query, can contain no callback buttons with this data.
* @param string $game_short_name Optional. Short name of a Game to be returned, serves as the unique identifier for the game
*/
public static function make(
Expand Down

0 comments on commit adb3c9a

Please sign in to comment.