EditChatInviteLinkRequest

data class EditChatInviteLinkRequest(chat_id: String, invite_link: String, expire_date: Long?, member_limit: Long?) : TelegramRequest

Use this method to edit a non-primary invite link created by the bot. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. Returns the edited invite link as a ChatInviteLink object.

Constructors

EditChatInviteLinkRequest
Link copied to clipboard
fun EditChatInviteLinkRequest(chat_id: String, invite_link: String, expire_date: Long? = null, member_limit: Long? = null)

Properties

chat_id
Link copied to clipboard
val chat_id: String
Unique identifier for the target chat or username of the target channel (in the format @channelusername)
expire_date
Link copied to clipboard
val expire_date: Long? = null
Point in time (Unix timestamp) when the link will expire
invite_link
Link copied to clipboard
val invite_link: String
The invite link to edit
member_limit
Link copied to clipboard
val member_limit: Long? = null
Maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999