Arguments for Api::editChatInviteLink.
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::string | inviteLink { } |
| | The invite link to edit.
|
| 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::editChatInviteLink.
Definition at line 15473 of file Types.h.
◆ chatId
| std::variant<std::int64_t, std::string> TgBot::EditChatInviteLinkArgs::chatId { } |
Unique identifier for the target chat or username of the target channel in the format @username.
Definition at line 15478 of file Types.h.
◆ createsJoinRequest
| bool TgBot::EditChatInviteLinkArgs::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 15505 of file Types.h.
◆ expireDate
| std::int32_t TgBot::EditChatInviteLinkArgs::expireDate = 0 |
Point in time (Unix timestamp) when the link will expire.
Definition at line 15488 of file Types.h.
◆ inviteLink
| std::string TgBot::EditChatInviteLinkArgs::inviteLink { } |
The invite link to edit.
Definition at line 15483 of file Types.h.
◆ memberLimit
| std::int32_t TgBot::EditChatInviteLinkArgs::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 15494 of file Types.h.
◆ name
| std::string TgBot::EditChatInviteLinkArgs::name = "" |
Invite link name; 0-32 characters.
Definition at line 15499 of file Types.h.
The documentation for this struct was generated from the following file: