Fix docs for CallbackQuery::message

This commit is contained in:
Сырцев Вадим Игоревич 2024-07-31 15:10:02 +03:00 committed by Andrey Brusnik
parent 565316aa7d
commit fc29530fe7
No known key found for this signature in database
GPG key ID: D33232F28CFF442C

View file

@ -25,7 +25,10 @@ pub struct CallbackQuery {
pub from: User, pub from: User,
/// Message sent by the bot with the callback button that originated the /// Message sent by the bot with the callback button that originated the
/// query /// query.
///
/// Note: if the message is too old, it will be
/// [`MaybeInaccessibleMessage::Inaccessible`].
pub message: Option<MaybeInaccessibleMessage>, pub message: Option<MaybeInaccessibleMessage>,
/// An identifier of the message sent via the bot in inline mode, that /// An identifier of the message sent via the bot in inline mode, that