Create Chat Subscription Invite Link Action
class CreateChatSubscriptionInviteLinkAction(subscriptionPrice: Int, name: String? = null, subscriptionPeriod: Duration) : Action<ChatInviteLink>
Properties
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun Request<ChatInviteLink>.doRequestReturning(bot: TelegramBot): Deferred<Response<out ChatInviteLink>>
Link copied to clipboard
Make a request for action.
Link copied to clipboard
Make a request for action returning its Response.
Link copied to clipboard
inline suspend fun sendReturning(to: User, via: TelegramBot): Deferred<Response<out ChatInviteLink>>
inline suspend fun sendReturning(to: Chat, via: TelegramBot): Deferred<Response<out ChatInviteLink>>
inline suspend fun sendReturning(to: Long, via: TelegramBot): Deferred<Response<out ChatInviteLink>>
inline suspend fun sendReturning(to: String, via: TelegramBot): Deferred<Response<out ChatInviteLink>>
Make a request for action returning its Response.
Link copied to clipboard
Payload to make response for the webhook request as described there.