Struct telexide_fork::model::GroupChat [−][src]
pub struct GroupChat {
pub id: i64,
pub title: String,
pub username: Option<String>,
pub photo: Option<ChatPhoto>,
pub description: Option<String>,
pub invite_link: Option<String>,
pub pinned_message: Option<Box<Message>>,
pub permissions: Option<ChatPermissions>,
}Expand description
A Group chat object
Fields
id: i64title: StringTitle
username: Option<String>Username if available
photo: Option<ChatPhoto>Chat photo. Returned only in get_chat.
description: Option<String>Description. Returned only in get_chat.
invite_link: Option<String>Chat invite link
pinned_message: Option<Box<Message>>Pinned message. Returned only in get_chat.
permissions: Option<ChatPermissions>Default chat member permissions. Returned only in get_chat.
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
Auto Trait Implementations
impl RefUnwindSafe for GroupChat
impl UnwindSafe for GroupChat
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more