pub trait SetChatAdministratorCustomTitleSetters: HasPayload<Payload = SetChatAdministratorCustomTitle> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn user_id(self, value: UserId) -> Self { ... }
    fn custom_title<T>(self, value: T) -> Self
       where T: Into<String> { ... }
}
Expand description

Setters for fields of SetChatAdministratorCustomTitle

Provided Methods§

source

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

Setter for chat_id field.

source

fn user_id(self, value: UserId) -> Self

Setter for user_id field.

source

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

Setter for custom_title field.

Object Safety§

This trait is not object safe.

Implementors§