membership
This block will be executed when the chatbot has been added or removed from a group or channel from Telegram.
membership(event=Enum(:new, :drop), &block)
membership(event=Enum(:new, :drop), &block)
Platforms
Platform | Supported |
---|---|
Messenger | |
Telegram |
Usage
In this block @reply_group
can be called, this is a notification instance for the group or channel. @reply
as always responds to the user, in this case the admin of the group/channel who added or removed the chatbot.
Last updated