-
raphael
I’m looking at writing a small bot and was wondering if there were any XEPs out there that would basically give me a way to provide either prefills or buttons people could click or otherwise help guide people to reply in a specific way in a 1:1 chat. Thinking of things like the telegram keyboard or buttons slack bots can provide https://core.telegram.org/bots/features#keyboards
-
jjj333_p (any pronouns)
theres two routes you could go, either using adhoc commands or in the dm use reactions (which shouldnt really be freeform but they are just a string)
-
jjj333_p (any pronouns)
https://xmpp.org/extensions/xep-0050.html
👍 1 -
jjj333_p (any pronouns)
its how you get forms like this
-
jjj333_p (any pronouns)
https://downloadable.pain.agency/file_share/019faff6-0586-7f29-8d76-ecd1caa7cf9f/00407ffd-0dbb-4096-99c6-b260c1143184.png
-
jjj333_p (any pronouns)
many clients have poor ui/ux for it though
-
raphael
thanks, will try that out, not even sure if the lib I’m using supports this out of the box even. Will try tho
-
jjj333_p (any pronouns)
what lib are you using?
-
theTedd
There is a XEP for that: XEP-0439: Quick Response https://xmpp.org/extensions/xep-0439.html