Struct botapi::gen_types::BotCommandScopeAllGroupChats
source · pub struct BotCommandScopeAllGroupChats { /* private fields */ }
Expand description
Represents the scope of bot commands, covering all group and supergroup chats.
Implementations§
source§impl BotCommandScopeAllGroupChats
impl BotCommandScopeAllGroupChats
pub fn noskip(self) -> NoSkipBotCommandScopeAllGroupChats
source§impl BotCommandScopeAllGroupChats
impl BotCommandScopeAllGroupChats
pub fn new() -> Self
sourcepub fn get_tg_type<'a>(&'a self) -> Cow<'a, str>
pub fn get_tg_type<'a>(&'a self) -> Cow<'a, str>
Scope type, must be all_group_chats
sourcepub fn get_tg_type_ref<'a>(&'a self) -> &'a str
pub fn get_tg_type_ref<'a>(&'a self) -> &'a str
Scope type, must be all_group_chats
Trait Implementations§
source§impl Clone for BotCommandScopeAllGroupChats
impl Clone for BotCommandScopeAllGroupChats
source§fn clone(&self) -> BotCommandScopeAllGroupChats
fn clone(&self) -> BotCommandScopeAllGroupChats
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BotCommandScopeAllGroupChats
impl Debug for BotCommandScopeAllGroupChats
source§impl Default for BotCommandScopeAllGroupChats
impl Default for BotCommandScopeAllGroupChats
source§fn default() -> BotCommandScopeAllGroupChats
fn default() -> BotCommandScopeAllGroupChats
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for BotCommandScopeAllGroupChats
impl<'de> Deserialize<'de> for BotCommandScopeAllGroupChats
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<NoSkipBotCommandScopeAllGroupChats> for BotCommandScopeAllGroupChats
impl From<NoSkipBotCommandScopeAllGroupChats> for BotCommandScopeAllGroupChats
source§fn from(t: NoSkipBotCommandScopeAllGroupChats) -> Self
fn from(t: NoSkipBotCommandScopeAllGroupChats) -> Self
Converts to this type from the input type.
source§impl Into<NoSkipBotCommandScopeAllGroupChats> for BotCommandScopeAllGroupChats
impl Into<NoSkipBotCommandScopeAllGroupChats> for BotCommandScopeAllGroupChats
source§fn into(self) -> NoSkipBotCommandScopeAllGroupChats
fn into(self) -> NoSkipBotCommandScopeAllGroupChats
Converts this type into the (usually inferred) input type.