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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product