Skip to content

ChatInviteLinkInfo

Type · TDLib 1.8.67 · d1085f9c

Contains information about a chat invite link

ChatInviteLinkInfo(
  chat_id: int53,
  accessible_for: int32,
  type: InviteLinkChatType,
  title: string,
  photo: ChatPhotoInfo,
  accent_color_id: int32,
  description: string,
  member_count: int32,
  member_user_ids: list of int53,
  subscription_info: ChatInviteLinkSubscriptionInfo,
  creates_join_request: Bool,
  is_public: Bool,
  verification_status: VerificationStatus
) → ChatInviteLinkInfo

chat_id

int53

Chat identifier of the invite link; 0 if the user has no access to the chat before joining

accessible_for

int32

If non-zero, the amount of time for which read access to the chat will remain available, in seconds

type

InviteLinkChatType

Type of the chat

title

string

Title of the chat

photo

ChatPhotoInfo

Chat photo; may be null

accent_color_id

int32

Identifier of the accent color for chat title and background of chat photo

description

string

Chat description

member_count

int32

Number of members in the chat

member_user_ids

list of int53

User identifiers of some chat members that may be known to the current user

subscription_info

ChatInviteLinkSubscriptionInfo

Information about subscription plan that must be paid by the user to use the link; may be null if the link doesn't require subscription

creates_join_request

Bool

True, if the link only creates join request

is_public

Bool

True, if the chat is a public supergroup or channel, i.e. it has a username or it is a location-based supergroup

verification_status

VerificationStatus

Information about verification status of the chat; may be null if none