ronami-core 1.0.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::{ChatId, Recipient, True, UserId};

impl_payload! {
    /// Use this method to remove a reaction from a message in a group or a supergroup chat. The bot must have the _can\_delete\_messages_ administrator right in the chat. Returns _True_ on success.
    #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
    pub DeleteMessageReaction (DeleteMessageReactionSetters) => True {
        required {
            /// Unique identifier for the target chat or username of the target supergroup in the format `@username`
            pub chat_id: Recipient [into],
            /// Identifier of the target message
            pub message_id: i32,
        }
        optional {
            /// Identifier of the user whose reaction will be removed, if the reaction was added by a user
            pub user_id: UserId,
            /// Identifier of the chat whose reaction will be removed, if the reaction was added by a chat
            pub actor_chat_id: ChatId [into],
        }
    }
}