[][src]Struct rtdlib::types::AddLocalMessage

pub struct AddLocalMessage { /* fields omitted */ }

Adds a local message to a chat. The message is persistent across application restarts only if the message database is used. Returns the added message

Implementations

impl AddLocalMessage[src]

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

pub fn builder() -> RTDAddLocalMessageBuilder[src]

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

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

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

pub fn disable_notification(&self) -> bool[src]

pub fn input_message_content(&self) -> &InputMessageContent[src]

Trait Implementations

impl AsRef<AddLocalMessage> for AddLocalMessage[src]

impl Clone for AddLocalMessage[src]

impl Debug for AddLocalMessage[src]

impl Default for AddLocalMessage[src]

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

impl RFunction for AddLocalMessage[src]

impl RObject for AddLocalMessage[src]

impl Serialize for AddLocalMessage[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.