Struct rust_tdlib::types::InternalLinkTypeBotStart
source · [−]pub struct InternalLinkTypeBotStart { /* private fields */ }Expand description
The link is a link to a chat with a Telegram bot. Call searchPublicChat with the given bot username, check that the user is a bot, show START button in the chat with the bot, and then call sendBotStartMessage with the given start parameter after the button is pressed
Implementations
Trait Implementations
sourceimpl AsRef<InternalLinkTypeBotStart> for InternalLinkTypeBotStart
impl AsRef<InternalLinkTypeBotStart> for InternalLinkTypeBotStart
sourcefn as_ref(&self) -> &InternalLinkTypeBotStart
fn as_ref(&self) -> &InternalLinkTypeBotStart
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for InternalLinkTypeBotStart
impl Clone for InternalLinkTypeBotStart
sourcefn clone(&self) -> InternalLinkTypeBotStart
fn clone(&self) -> InternalLinkTypeBotStart
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 InternalLinkTypeBotStart
impl Debug for InternalLinkTypeBotStart
sourceimpl Default for InternalLinkTypeBotStart
impl Default for InternalLinkTypeBotStart
sourcefn default() -> InternalLinkTypeBotStart
fn default() -> InternalLinkTypeBotStart
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InternalLinkTypeBotStart
impl<'de> Deserialize<'de> for InternalLinkTypeBotStart
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 InternalLinkTypeBotStart
impl Serialize for InternalLinkTypeBotStart
impl TDInternalLinkType for InternalLinkTypeBotStart
Auto Trait Implementations
impl RefUnwindSafe for InternalLinkTypeBotStart
impl Send for InternalLinkTypeBotStart
impl Sync for InternalLinkTypeBotStart
impl Unpin for InternalLinkTypeBotStart
impl UnwindSafe for InternalLinkTypeBotStart
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