pub struct GetChatMessageResponse {Show 13 fields
pub bot_message: Option<Domains>,
pub date_time: Option<NaiveDate>,
pub download_url: String,
pub file_id: String,
pub file_name: String,
pub file_size: i64,
pub id: String,
pub message: String,
pub reactions: Vec<Reactions>,
pub reply_main_message_id: String,
pub reply_main_message_timestamp: i64,
pub sender: String,
pub timestamp: i64,
}
Expand description
A chat message object.
Fields§
§bot_message: Option<Domains>
A chat message object.
date_time: Option<NaiveDate>
A chat message object.
download_url: String
A chat message object.
file_id: String
A chat message object.
file_name: String
A chat message object.
file_size: i64
A chat message object.
id: String
A chat message object.
message: String
A chat message object.
reactions: Vec<Reactions>
A chat message object.
reply_main_message_id: String
A chat message object.
reply_main_message_timestamp: i64
A chat message object.
sender: String
A chat message object.
timestamp: i64
A chat message object.
Trait Implementations§
Source§impl Clone for GetChatMessageResponse
impl Clone for GetChatMessageResponse
Source§fn clone(&self) -> GetChatMessageResponse
fn clone(&self) -> GetChatMessageResponse
Returns a duplicate 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 GetChatMessageResponse
impl Debug for GetChatMessageResponse
Source§impl<'de> Deserialize<'de> for GetChatMessageResponse
impl<'de> Deserialize<'de> for GetChatMessageResponse
Source§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
Source§impl JsonSchema for GetChatMessageResponse
impl JsonSchema for GetChatMessageResponse
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreSource§impl PartialEq for GetChatMessageResponse
impl PartialEq for GetChatMessageResponse
Source§impl Serialize for GetChatMessageResponse
impl Serialize for GetChatMessageResponse
impl StructuralPartialEq for GetChatMessageResponse
Auto Trait Implementations§
impl Freeze for GetChatMessageResponse
impl RefUnwindSafe for GetChatMessageResponse
impl Send for GetChatMessageResponse
impl Sync for GetChatMessageResponse
impl Unpin for GetChatMessageResponse
impl UnwindSafe for GetChatMessageResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more