Struct rust_tdlib::types::InternalLinkTypeGame
source · pub struct InternalLinkTypeGame { /* private fields */ }
Expand description
The link is a link to a game. Call searchPublicChat with the given bot username, check that the user is a bot, ask the current user to select a chat to send the game, and then call sendMessage with inputMessageGame
Implementations§
Trait Implementations§
source§impl AsRef<InternalLinkTypeGame> for InternalLinkTypeGame
impl AsRef<InternalLinkTypeGame> for InternalLinkTypeGame
source§fn as_ref(&self) -> &InternalLinkTypeGame
fn as_ref(&self) -> &InternalLinkTypeGame
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for InternalLinkTypeGame
impl Clone for InternalLinkTypeGame
source§fn clone(&self) -> InternalLinkTypeGame
fn clone(&self) -> InternalLinkTypeGame
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 InternalLinkTypeGame
impl Debug for InternalLinkTypeGame
source§impl Default for InternalLinkTypeGame
impl Default for InternalLinkTypeGame
source§fn default() -> InternalLinkTypeGame
fn default() -> InternalLinkTypeGame
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InternalLinkTypeGame
impl<'de> Deserialize<'de> for InternalLinkTypeGame
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