Class CreateChatInviteLink

  • All Implemented Interfaces:
    Validable

    public class CreateChatInviteLink
    extends BotApiMethod<ChatInviteLink>
    Version:
    5.1 Use this method to create an additional invite link for a chat. The bot must be an administrator in the chat for this to work and must have the appropriate admin rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.
    Author:
    Ruben Bermudez