1#ifndef TGBOT_CPP_CHATINVITELINK_H
2#define TGBOT_CPP_CHATINVITELINK_H
20 typedef std::shared_ptr<ChatInviteLink>
Ptr;
Represents an invite link for a chat.
std::uint32_t memberLimit
Optional. Maximum number of users that can be members of the chat simultaneously after joining the ch...
std::uint32_t expireDate
Optional. Point in time (Unix timestamp) when the link will expire or has been expired.
std::string name
Optional. Invite link name.
bool isRevoked
True, if the link is revoked.
bool createsJoinRequest
True, if users joining the chat via the link need to be approved by chat administrators.
bool isPrimary
True, if the link is primary.
std::uint32_t pendingJoinRequestCount
Optional. Number of pending join requests created using this link.
User::Ptr creator
Creator of the link.
std::string inviteLink
The invite link. If the link was created by another chat administrator, then the second part of the l...
std::shared_ptr< ChatInviteLink > Ptr
std::shared_ptr< User > Ptr