Struct teloxide::types::MessageChannelChatCreated
source · pub struct MessageChannelChatCreated {
pub channel_chat_created: True,
}
Fields§
§channel_chat_created: True
Service message: the channel has been created. This field can‘t be
received in a message coming through updates, because bot can’t be
a member of a channel when it is created. It can only be found in
reply_to_message
if someone replies to a very first message in a
channel.
Trait Implementations§
source§impl Clone for MessageChannelChatCreated
impl Clone for MessageChannelChatCreated
source§fn clone(&self) -> MessageChannelChatCreated
fn clone(&self) -> MessageChannelChatCreated
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageChannelChatCreated
impl Debug for MessageChannelChatCreated
source§impl Default for MessageChannelChatCreated
impl Default for MessageChannelChatCreated
source§fn default() -> MessageChannelChatCreated
fn default() -> MessageChannelChatCreated
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MessageChannelChatCreated
impl<'de> Deserialize<'de> for MessageChannelChatCreated
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MessageChannelChatCreated, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MessageChannelChatCreated, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MessageChannelChatCreated> for MessageChannelChatCreated
impl PartialEq<MessageChannelChatCreated> for MessageChannelChatCreated
source§fn eq(&self, other: &MessageChannelChatCreated) -> bool
fn eq(&self, other: &MessageChannelChatCreated) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageChannelChatCreated
impl Serialize for MessageChannelChatCreated
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more