Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
This repository was archived by the owner on Feb 7, 2025. It is now read-only.

Add support to createChatInviteLink #206

Description

@victoraury

The method createChatInviteLink generates a invite link that supports expire_date and member_limit parameters. The current method exportChatInviteLink doesn't. See documentation.
This capability is useful when filtering which users have access to a Chat, reducing the need to kick or ban users from it.

Activity

  1. diogo-palma commented on Jun 2, 2021

    @diogo-palma

    in node_modules/telebot/lib/methods.js after exportChatInviteLink:{ .... } put this

    createChatInviteLink: {
          arguments: ['chat_id', 'expire_date', 'member_limit']
        },
    

    usage:

     bot.createChatInviteLink(
          chat_id, expire_date, member_limit
       )
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions