pub trait EditChatInviteLinkSetters: HasPayload<Payload = EditChatInviteLink> + Sized {
    // Provided methods
    fn chat_id<T>(self, value: T) -> Self
       where T: Into<Recipient> { ... }
    fn invite_link<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn name<T>(self, value: T) -> Self
       where T: Into<String> { ... }
    fn expire_date<T>(self, value: T) -> Self
       where T: Into<DateTime<Utc>> { ... }
    fn member_limit(self, value: u32) -> Self { ... }
    fn creates_join_request(self, value: bool) -> Self { ... }
}
Expand description

Setters for fields of EditChatInviteLink

Provided Methods§

source

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

Setter for chat_id field.

Setter for invite_link field.

source

fn name<T>(self, value: T) -> Selfwhere T: Into<String>,

Setter for name field.

source

fn expire_date<T>(self, value: T) -> Selfwhere T: Into<DateTime<Utc>>,

Setter for expire_date field.

source

fn member_limit(self, value: u32) -> Self

Setter for member_limit field.

source

fn creates_join_request(self, value: bool) -> Self

Setter for creates_join_request field.

Implementors§