pub struct InternalLinkTypeGame {
pub bot_username: String,
pub game_short_name: String,
}
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
Fields§
§bot_username: String
Username of the bot that owns the game
game_short_name: String
Short name of the game
Trait Implementations§
Source§impl Clone for InternalLinkTypeGame
impl Clone for InternalLinkTypeGame
Source§fn clone(&self) -> InternalLinkTypeGame
fn clone(&self) -> InternalLinkTypeGame
Returns a duplicate 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 PartialEq for InternalLinkTypeGame
impl PartialEq for InternalLinkTypeGame
Source§impl Serialize for InternalLinkTypeGame
impl Serialize for InternalLinkTypeGame
impl StructuralPartialEq 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