-
Notifications
You must be signed in to change notification settings - Fork 2
OnChatAction handlers
Arius Bronte edited this page Feb 24, 2020
·
1 revision
The method name is equal to the chat action.
commands.OnChatInviteUserAction(async (api, update, token) => { });
commands.OnChatKickUserAction(async (api, update, token) => { });
commands.OnChatPhotoRemoveAction(async (api, update, token) => { });
commands.OnChatPhotoUpdateAction(async (api, update, token) => { });
commands.OnChatPinMessageAction(async (api, update, token) => { });
commands.OnChatTitleUpdateAction(async (api, update, token) => { });
commands.OnChatUnpinMessageAction(async (api, update, token) => { });
commands.OnChatInviteUserByLinkAction(async (api, update, token) => { });
- OnChatInviteUser - invited and returned to the conversation.
- OnChatKickUser - kick out and leave the conversation.