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
sourceimpl AsRef<InternalLinkTypeGame> for InternalLinkTypeGame
impl AsRef<InternalLinkTypeGame> for InternalLinkTypeGame
sourcefn as_ref(&self) -> &InternalLinkTypeGame
fn as_ref(&self) -> &InternalLinkTypeGame
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InternalLinkTypeGame
impl Clone for InternalLinkTypeGame
sourcefn clone(&self) -> InternalLinkTypeGame
fn clone(&self) -> InternalLinkTypeGame
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for InternalLinkTypeGame
impl Debug for InternalLinkTypeGame
sourceimpl Default for InternalLinkTypeGame
impl Default for InternalLinkTypeGame
sourcefn default() -> InternalLinkTypeGame
fn default() -> InternalLinkTypeGame
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InternalLinkTypeGame
impl<'de> Deserialize<'de> for InternalLinkTypeGame
sourcefn 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
sourceimpl Serialize for InternalLinkTypeGame
impl Serialize for InternalLinkTypeGame
impl TDInternalLinkType for InternalLinkTypeGame
Auto Trait Implementations
impl RefUnwindSafe for InternalLinkTypeGame
impl Send for InternalLinkTypeGame
impl Sync for InternalLinkTypeGame
impl Unpin for InternalLinkTypeGame
impl UnwindSafe for InternalLinkTypeGame
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more