Module

x/grammy/types.deno.ts>ChatInviteLink

The Telegram Bot Framework.
Very Popular
Go to Latest
interface ChatInviteLink
import { type ChatInviteLink } from "https://dotland.deno.dev/x/grammy@v1.31.1/types.deno.ts";

Represents an invite link for a chat.

Properties

creator: User

Creator of the link

creates_join_request: boolean

True, if users joining the chat via the link need to be approved by chat administrators

is_primary: boolean

True, if the link is primary

is_revoked: boolean

True, if the link is revoked

optional
name: string

Invite link name

optional
expire_date: number

Point in time (Unix timestamp) when the link will expire or has been expired

optional
member_limit: number

The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999

optional
pending_join_request_count: number

Number of pending join requests created using this link

optional
subscription_period: number

The number of seconds the subscription will be active for before the next payment

optional
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 using the link

import ChatInviteLink
import { ChatInviteLink } from "https://dotland.deno.dev/x/grammy@v1.31.1/types.deno.ts";