ronami-core 1.1.0

Core part of the `ronami` library — Telegram Bot API client
Documentation
//! Generated by `codegen_payloads`, do not edit by hand.

use serde::Serialize;

use crate::types::{GuestQueryId, InlineQueryResult, SentGuestMessage};

impl_payload! {
    /// Use this method to reply to a received guest message. On success, a [`SentGuestMessage`] object is returned.
    ///
    /// [`SentGuestMessage`]: crate::types::SentGuestMessage
    #[derive(Debug, PartialEq, Clone, Serialize)]
    pub AnswerGuestQuery (AnswerGuestQuerySetters) => SentGuestMessage {
        required {
            /// Unique identifier for the query to be answered
            pub guest_query_id: GuestQueryId,
            /// A JSON-serialized object describing the message to be sent
            pub result: InlineQueryResult,
        }
    }
}