Enum rtdlib::types::TMeUrlType
source[−]pub enum TMeUrlType {
ChatInvite(TMeUrlTypeChatInvite),
StickerSet(TMeUrlTypeStickerSet),
Supergroup(TMeUrlTypeSupergroup),
User(TMeUrlTypeUser),
// some variants omitted
}
Expand description
Describes the type of a URL linking to an internal Telegram entity
Variants
ChatInvite(TMeUrlTypeChatInvite)
Tuple Fields
A chat invite link
StickerSet(TMeUrlTypeStickerSet)
Tuple Fields
A URL linking to a sticker set
Supergroup(TMeUrlTypeSupergroup)
Tuple Fields
A URL linking to a public supergroup or channel
User(TMeUrlTypeUser)
Tuple Fields
A URL linking to a user
Implementations
Trait Implementations
Performs the conversion.
fn deserialize<D>(deserializer: D) -> Result<TMeUrlType, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<TMeUrlType, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for TMeUrlType
impl Send for TMeUrlType
impl Sync for TMeUrlType
impl Unpin for TMeUrlType
impl UnwindSafe for TMeUrlType
Blanket Implementations
Mutably borrows from an owned value. Read more