pub trait CreateChatInviteLinkSetters: HasPayload<Payload = CreateChatInviteLink> + Sized {
// Provided methods
fn chat_id<T>(self, value: T) -> Self
where T: Into<Recipient> { ... }
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 CreateChatInviteLink
Provided Methods§
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.