Skip to content

GramIO API Reference / gramio/dist / CreateChatSubscriptionInviteLinkParams

Interface: CreateChatSubscriptionInviteLinkParams

Defined in: @gramio/types/out/params.d.ts:2017

Params object for createChatSubscriptionInviteLink method

Properties

PropertyTypeDescriptionDefined in
chat_idstring | numberUnique identifier for the target channel chat or username of the target channel (in the format @channelusername)@gramio/types/out/params.d.ts:2021
name?stringInvite link name; 0-32 characters@gramio/types/out/params.d.ts:2025
subscription_periodnumberThe number of seconds the subscription will be active for before the next payment. Currently, it must always be 2592000 (30 days).@gramio/types/out/params.d.ts:2029
subscription_pricenumberThe amount of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-10000@gramio/types/out/params.d.ts:2033