How can I know all the prosody events that can be used?

221 views
Skip to first unread message

Mustahsinul Moula

unread,
Mar 21, 2022, 8:01:05 AM3/21/22
to Prosody IM Users
Hi, I was wondering where can I get all the events of Prosody ? And for example, From application like Jitsi meet which uses Prosody Can I add custom prosody event that can be listened in prosody lua file?

Thank you.

Matthew Wild

unread,
Mar 21, 2022, 8:55:01 AM3/21/22
to Prosody IM Users Group
Hi,

On Mon, 21 Mar 2022 at 12:01, Mustahsinul Moula <musta...@gmail.com> wrote:
Hi, I was wondering where can I get all the events of Prosody ? And for example, From application like Jitsi meet which uses Prosody Can I add custom prosody event that can be listened in prosody lua file?

There is no complete list. The reason is hinted at by your second question - it's possible for any module to fire custom events. That makes it impossible for any list to be 100% complete.

You can find the majority of core events documented on this page: https://prosody.im/doc/developers/events

These events are all that most modules will need. If you need events relating to a specific module, check that module's documentation and/or source code to find out what events it fires that might be useful for you.

The API for firing and listening to events is described here: https://prosody.im/doc/developers/moduleapi#events

Hope this helps!

Regards,
Matthew
 
Thank you.

--
You received this message because you are subscribed to the Google Groups "Prosody IM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prosody-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/prosody-users/3d399b65-acd3-41be-80c1-ec188fc4f13dn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages