telegramx.js

CreateChatSubscriptionInviteLinkParams

interface

Declaration

interface CreateChatSubscriptionInviteLinkParams 

Properties

chat_idproperty#
chat_id: number | string;

Unique identifier for the target channel chat or username of the target channel in the format

nameproperty#
name?: string;

Invite link name; 0-32 characters

subscription_period: number;

The number of seconds the subscription will be active for before the next payment. Currently, it must always be 2592000 (30 days).

subscription_price: number;

The amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-10000