Enum telbot_types::markup::MessageEntityKind [−][src]
pub enum MessageEntityKind {
}Expand description
Type of the message entity
Variants
@username
#hashtag
$USD
/start@jobs_bot
https://telegram.org
do-not-reply@telegram.org
+1-212-555-0123
bold text
italic text
underlined text
~strikethrough text~
monowidth string
monowidth block
Fields of Pre
langauge: StringThe programming language of the entity text
clickable text URLs
Fields of TextLink
url: StringUrl that will be opened after user taps on the text
mention for users without usernames
Fields of TextMention
user: UserThe mentioned user
Trait Implementations
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