Struct telegram_bot2::models::MessageEntityBuilder
source · pub struct MessageEntityBuilder { /* private fields */ }Expand description
Builder for the MessageEntity structure
Implementations§
source§impl MessageEntityBuilder
impl MessageEntityBuilder
sourcepub fn new(_type: MessageEntityType, offset: i64, length: i64) -> Self
pub fn new(_type: MessageEntityType, offset: i64, length: i64) -> Self
Instantiate the builder with the fields _type, offset, length
Trait Implementations§
source§impl Builder for MessageEntityBuilder
impl Builder for MessageEntityBuilder
§type Value = MessageEntity
type Value = MessageEntity
Type to be built