CreateChatSubscriptionInviteLinkReq
telegramium.bots.client.CreateChatSubscriptionInviteLinkReq
final case class CreateChatSubscriptionInviteLinkReq(chatId: ChatId, subscriptionPeriod: Int, subscriptionPrice: Int, name: Option[String])
Value parameters
- chatId
-
Unique identifier for the target channel chat or username of the target channel (in the format @channelusername)
- name
-
Invite link name; 0-32 characters
- subscriptionPeriod
-
The number of seconds the subscription will be active for before the next payment. Currently, it must always be 2592000 (30 days).
- subscriptionPrice
-
The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-2500
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article