pub struct Messages {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 reply_main_message_id: String,
pub reply_main_message_timestamp: i64,
pub sender: String,
pub status: Option<GetChatMessagesResponseStatus>,
pub timestamp: i64,
}
Fields§
§bot_message: Option<Domains>
§date_time: Option<NaiveDate>
Start Date.
download_url: String
User’s first name.
file_id: String
User’s first name.
file_name: String
User’s first name.
file_size: i64
Account seats.
id: String
User’s first name.
message: String
User’s first name.
reply_main_message_id: String
User’s first name.
reply_main_message_timestamp: i64
Account seats.
sender: String
User’s first name.
status: Option<GetChatMessagesResponseStatus>
This field indicates whether a message is an original message(unedited), an edited message or a deleted message.
This field is only returned if you set the value of for include_deleted_and_edited_message
query parameter to true
.
timestamp: i64
Account seats.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Messages
impl<'de> Deserialize<'de> for Messages
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 Messages
impl JsonSchema for Messages
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 moreimpl StructuralPartialEq for Messages
Auto Trait Implementations§
impl Freeze for Messages
impl RefUnwindSafe for Messages
impl Send for Messages
impl Sync for Messages
impl Unpin for Messages
impl UnwindSafe for Messages
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