Struct telbot_types::markup::MessageEntity [−][src]
pub struct MessageEntity {
pub kind: MessageEntityKind,
pub offset: usize,
pub length: usize,
}Expand description
This object represents one special entity in a text message.
For example, hashtags, usernames, URLs, etc.
Fields
kind: MessageEntityKindType of the entity
offset: usizeOffset in UTF-16 code units to the start of the entity
length: usizeLength of the entity in UTF-16 code units
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