Arguments for Api::createChatInviteLink.
More...
#include <Types.h>
|
| std::variant< std::int64_t, std::string > | chatId { } |
| | Unique identifier for the target chat or username of the target channel in the format @username.
|
| std::int32_t | expireDate = 0 |
| | Point in time (Unix timestamp) when the link will expire.
|
| std::int32_t | memberLimit = 0 |
| | The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999.
|
| std::string | name = "" |
| | Invite link name; 0-32 characters.
|
| bool | createsJoinRequest = false |
| | True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified.
|
Arguments for Api::createChatInviteLink.
Definition at line 14906 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::CreateChatInviteLinkArgs::chatId { } |
Unique identifier for the target chat or username of the target channel in the format @username.
Definition at line 14911 of file Types.h.
◆ createsJoinRequest
| bool TgBot::CreateChatInviteLinkArgs::createsJoinRequest = false |
True, if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified.
Definition at line 14933 of file Types.h.
◆ expireDate
| std::int32_t TgBot::CreateChatInviteLinkArgs::expireDate = 0 |
Point in time (Unix timestamp) when the link will expire.
Definition at line 14916 of file Types.h.
◆ memberLimit
| std::int32_t TgBot::CreateChatInviteLinkArgs::memberLimit = 0 |
The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999.
Definition at line 14922 of file Types.h.
◆ name
| std::string TgBot::CreateChatInviteLinkArgs::name = "" |
Invite link name; 0-32 characters.
Definition at line 14927 of file Types.h.
The documentation for this struct was generated from the following file: