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§
sourcefn invite_link<T>(self, value: T) -> Selfwhere
T: Into<String>,
fn invite_link<T>(self, value: T) -> Selfwhere T: Into<String>,
Setter for invite_link
field.
sourcefn expire_date<T>(self, value: T) -> Selfwhere
T: Into<DateTime<Utc>>,
fn expire_date<T>(self, value: T) -> Selfwhere T: Into<DateTime<Utc>>,
Setter for expire_date
field.
sourcefn member_limit(self, value: u32) -> Self
fn member_limit(self, value: u32) -> Self
Setter for member_limit
field.
sourcefn creates_join_request(self, value: bool) -> Self
fn creates_join_request(self, value: bool) -> Self
Setter for creates_join_request
field.