Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_chat_invite_link Struct Reference

This object represents a chat invite link. More...

#include <telebot-types.h>

Public Attributes

char * invite_link
 
struct telebot_usercreator
 
bool creates_join_request
 
bool is_primary
 
bool is_revoked
 
char * name
 
long expire_date
 
int member_limit
 
int pending_join_request_count
 

Detailed Description

This object represents a chat invite link.

Member Data Documentation

◆ creates_join_request

bool telebot_chat_invite_link::creates_join_request

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

◆ creator

struct telebot_user* telebot_chat_invite_link::creator

Creator of the link

◆ expire_date

long telebot_chat_invite_link::expire_date

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

◆ invite_link

char* telebot_chat_invite_link::invite_link

The invite link.

◆ is_primary

bool telebot_chat_invite_link::is_primary

True, if the link is primary

◆ is_revoked

bool telebot_chat_invite_link::is_revoked

True, if the link is revoked

◆ member_limit

int telebot_chat_invite_link::member_limit

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

◆ name

char* telebot_chat_invite_link::name

Optional. Invite link name

◆ pending_join_request_count

int telebot_chat_invite_link::pending_join_request_count

Optional. Number of pending join requests created using this link


The documentation for this struct was generated from the following file: