pub struct CreateChatSubscriptionInviteLink { /* private fields */ }Expand description
Builder for the createChatSubscriptionInviteLink method.
Creates a subscription invite link for a channel. The subscription period must currently
always be 2592000 (30 days) and the price must be between 1–10000 Telegram Stars.
Implementations§
Trait Implementations§
Source§impl IntoFuture for CreateChatSubscriptionInviteLink
impl IntoFuture for CreateChatSubscriptionInviteLink
Source§type Output = Result<ChatInviteLink, Error>
type Output = Result<ChatInviteLink, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <CreateChatSubscriptionInviteLink as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <CreateChatSubscriptionInviteLink as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for CreateChatSubscriptionInviteLink
impl !UnwindSafe for CreateChatSubscriptionInviteLink
impl Freeze for CreateChatSubscriptionInviteLink
impl Send for CreateChatSubscriptionInviteLink
impl Sync for CreateChatSubscriptionInviteLink
impl Unpin for CreateChatSubscriptionInviteLink
impl UnsafeUnpin for CreateChatSubscriptionInviteLink
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more