[][src]Struct rtdlib::types::ResendMessages

pub struct ResendMessages { /* fields omitted */ }

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

impl ResendMessages[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDResendMessagesBuilder[src]

pub fn chat_id(&self) -> i64[src]

pub fn message_ids(&self) -> &Vec<i64>[src]

Trait Implementations

impl AsRef<ResendMessages> for ResendMessages[src]

impl Clone for ResendMessages[src]

impl Debug for ResendMessages[src]

impl Default for ResendMessages[src]

impl<'de> Deserialize<'de> for ResendMessages[src]

impl RFunction for ResendMessages[src]

impl RObject for ResendMessages[src]

impl Serialize for ResendMessages[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.