diff --git a/crates/teloxide-core/src/types/callback_query.rs b/crates/teloxide-core/src/types/callback_query.rs index 2d1f5362..189c1f9b 100644 --- a/crates/teloxide-core/src/types/callback_query.rs +++ b/crates/teloxide-core/src/types/callback_query.rs @@ -40,8 +40,8 @@ pub struct CallbackQuery { /// [games]: https://core.telegram.org/bots/api#games pub chat_instance: String, - /// A data associated with the callback button. Be aware that a bad client - /// can send arbitrary data in this field. + /// A data associated with the callback button. Be aware that the message + /// originated the query can contain no callback buttons with this data. pub data: Option, /// A short name of a Game to be returned, serves as the unique identifier