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
Source§impl Serialize for InternalLinkTypeGame
impl Serialize for InternalLinkTypeGame
impl TDInternalLinkType for InternalLinkTypeGame
Auto Trait Implementations§
impl Freeze for InternalLinkTypeGame
impl RefUnwindSafe for InternalLinkTypeGame
impl Send for InternalLinkTypeGame
impl Sync for InternalLinkTypeGame
impl Unpin for InternalLinkTypeGame
impl UnwindSafe for InternalLinkTypeGame
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
Mutably borrows from an owned value. Read more