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) -> Self
fn expire_date<T>(self, value: T) -> Self
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.
Object Safety§
This trait is not object safe.