Struct rust_tdlib::types::ResendMessages
source · pub struct ResendMessages { /* private fields */ }
Expand description
Resends messages which failed to send. Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in messageSendingStateFailed.retry_after time passed. If a message is re-sent, the corresponding failed to send message is deleted. Returns the sent messages in the same order as the message identifiers passed in message_ids. If a message can’t be re-sent, null will be returned instead of the message
Implementations§
Trait Implementations§
source§impl AsRef<ResendMessages> for ResendMessages
impl AsRef<ResendMessages> for ResendMessages
source§fn as_ref(&self) -> &ResendMessages
fn as_ref(&self) -> &ResendMessages
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ResendMessages
impl Clone for ResendMessages
source§fn clone(&self) -> ResendMessages
fn clone(&self) -> ResendMessages
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 ResendMessages
impl Debug for ResendMessages
source§impl Default for ResendMessages
impl Default for ResendMessages
source§fn default() -> ResendMessages
fn default() -> ResendMessages
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResendMessages
impl<'de> Deserialize<'de> for ResendMessages
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