Struct botapi::gen_types::ReactionTypeEmojiBuilder
source · pub struct ReactionTypeEmojiBuilder {
pub tg_type: String,
pub emoji: String,
}Expand description
The reaction is based on an emoji.
Fields§
§tg_type: StringType of the reaction, always “emoji”
emoji: StringReaction emoji. Currently, it can be one of “👍”, “👎”, “❤”, “🔥”, “🥰”, “👏”, “😁”, “🤔”, “🤯”, “😱”, “🤬”, “😢”, “🎉”, “🤩”, “🤮”, “💩”, “🙏”, “👌”, “🕊”, “🤡”, “🥱”, “🥴”, “😍”, “🐳”, “❤🔥”, “🌚”, “🌭”, “💯”, “🤣”, “⚡”, “🍌”, “🏆”, “💔”, “🤨”, “😐”, “🍓”, “🍾”, “💋”, “🖕”, “😈”, “😴”, “😭”, “🤓”, “👻”, “👨💻”, “👀”, “🎃”, “🙈”, “😇”, “😨”, “🤝”, “✍”, “🤗”, “🫡”, “🎅”, “🎄”, “☃”, “💅”, “🤪”, “🗿”, “🆒”, “💘”, “🙉”, “🦄”, “😘”, “💊”, “🙊”, “😎”, “👾”, “🤷♂”, “🤷”, “🤷♀”, “😡”
Implementations§
source§impl ReactionTypeEmojiBuilder
impl ReactionTypeEmojiBuilder
pub fn new(emoji: String) -> Self
sourcepub fn set_emoji(self, emoji: String) -> Self
pub fn set_emoji(self, emoji: String) -> Self
Reaction emoji. Currently, it can be one of “👍”, “👎”, “❤”, “🔥”, “🥰”, “👏”, “😁”, “🤔”, “🤯”, “😱”, “🤬”, “😢”, “🎉”, “🤩”, “🤮”, “💩”, “🙏”, “👌”, “🕊”, “🤡”, “🥱”, “🥴”, “😍”, “🐳”, “❤🔥”, “🌚”, “🌭”, “💯”, “🤣”, “⚡”, “🍌”, “🏆”, “💔”, “🤨”, “😐”, “🍓”, “🍾”, “💋”, “🖕”, “😈”, “😴”, “😭”, “🤓”, “👻”, “👨💻”, “👀”, “🎃”, “🙈”, “😇”, “😨”, “🤝”, “✍”, “🤗”, “🫡”, “🎅”, “🎄”, “☃”, “💅”, “🤪”, “🗿”, “🆒”, “💘”, “🙉”, “🦄”, “😘”, “💊”, “🙊”, “😎”, “👾”, “🤷♂”, “🤷”, “🤷♀”, “😡”
pub fn build(self) -> ReactionTypeEmoji
Trait Implementations§
source§impl Clone for ReactionTypeEmojiBuilder
impl Clone for ReactionTypeEmojiBuilder
source§fn clone(&self) -> ReactionTypeEmojiBuilder
fn clone(&self) -> ReactionTypeEmojiBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReactionTypeEmojiBuilder
impl Debug for ReactionTypeEmojiBuilder
source§impl Default for ReactionTypeEmojiBuilder
impl Default for ReactionTypeEmojiBuilder
source§fn default() -> ReactionTypeEmojiBuilder
fn default() -> ReactionTypeEmojiBuilder
source§impl<'de> Deserialize<'de> for ReactionTypeEmojiBuilder
impl<'de> Deserialize<'de> for ReactionTypeEmojiBuilder
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Hash for ReactionTypeEmojiBuilder
impl Hash for ReactionTypeEmojiBuilder
source§impl Ord for ReactionTypeEmojiBuilder
impl Ord for ReactionTypeEmojiBuilder
source§fn cmp(&self, other: &ReactionTypeEmojiBuilder) -> Ordering
fn cmp(&self, other: &ReactionTypeEmojiBuilder) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for ReactionTypeEmojiBuilder
impl PartialEq for ReactionTypeEmojiBuilder
source§impl PartialOrd for ReactionTypeEmojiBuilder
impl PartialOrd for ReactionTypeEmojiBuilder
source§impl Serialize for ReactionTypeEmojiBuilder
impl Serialize for ReactionTypeEmojiBuilder
impl Eq for ReactionTypeEmojiBuilder
impl StructuralPartialEq for ReactionTypeEmojiBuilder
Auto Trait Implementations§
impl Freeze for ReactionTypeEmojiBuilder
impl RefUnwindSafe for ReactionTypeEmojiBuilder
impl Send for ReactionTypeEmojiBuilder
impl Sync for ReactionTypeEmojiBuilder
impl Unpin for ReactionTypeEmojiBuilder
impl UnwindSafe for ReactionTypeEmojiBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.