Enum telexide_fork::model::Chat [−][src]
pub enum Chat {
Private(PrivateChat),
Group(GroupChat),
SuperGroup(SuperGroupChat),
Channel(ChannelChat),
}Expand description
This object represents a chat. It can be a private, group, supergroup or channel chat
Variants
Private(PrivateChat)
Tuple Fields
0: PrivateChatGroup(GroupChat)
Tuple Fields
0: GroupChatSuperGroup(SuperGroupChat)
Tuple Fields
Channel(ChannelChat)
Tuple Fields
0: ChannelChatImplementations
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 Chat
impl UnwindSafe for Chat
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