Trait teloxide_core::payloads::SetChatTitleSetters

source ·
pub trait SetChatTitleSetters: HasPayload<Payload = SetChatTitle> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn title<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of SetChatTitle

Provided Methods§

source

fn chat_id<T>(self, value: T) -> Self
where T: Into<Recipient>,

Setter for chat_id field.

source

fn title<T>(self, value: T) -> Self
where T: Into<String>,

Setter for title field.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<P> SetChatTitleSetters for P
where P: HasPayload<Payload = SetChatTitle>,