Il 25/07/22 17:52, adb ha scritto:
[delta-dev]
Group Chat Plain Bot – Hi,
I need to add an announcement bot to a Group Chat (the bot doesn't
uses delta lib) and I am wondering how delta clients pick up regular
emails from MUAs participating in groups:
Looking at source of messages I can see the only bit related to
groups are the following headers:
*
In-Reply-To
*
References
which reference the group-chat-id e.g.:
<group-chat-id.G41YCagco1f(a)myhost.com>
Can you confirm that the messages are picked up just by adding such
headers to the message or otherwise give some additional hints?
Thanks.
hi, instead of having to reply to a message from the group each time,
you can take a message from the group from a DC user and peek at the
header:
Chat-Group-ID: TOKEN HERE
and then include that header in your bot's messages also include the
header:
Chat-Version: 1.0
with this your bot will trick all other DC clients to think it is a DC
client as well,
otherwise if you want the messages to be received as from a classic
Mua I guess also the trick of in-reply-to will work
_______________________________________________
delta mailing list -- delta(a)codespeak.net
To unsubscribe send an email to delta-leave(a)codespeak.net
Thanks adb, I thought about that but I was unsure if just adding a
"Chat-Group-ID" would have been sufficient.
What about the "Chat-Disposition-Notification-To" header in this case ?
I'd like to have the other members see if and who has read the
announcements: adding such a header with all the other participants and
a relative "Message-ID" will do the trick I suppose ?!
--
Marco
CONFIDENTALITY NOTICE:
The information contained in this message as well as the attached
file(s) is confidential/privileged and is only intended for the person
to whom it is addressed. If the reader of this message is not the
intended recipient or the employee or agent responsible for delivering
the message to the intended recipient, or you have received this
communication in error, please be aware that any dissemination,
distribution or duplication is strictly prohibited, and can be illegal.
Please notify us immediately and delete all copies from your mailbox and
other archives. Thank you
------------------------------------------------------------------------
In ottemperanza con il nuovo Regolamento Europeo GDPR n. 679/2016, le
informazioni contenute in questo messaggio sono riservate e
confidenziali. Il loro utilizzo è consentito esclusivamente al
destinatario del messaggio, per le finalità indicate nel messaggio
stesso. Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo dal Suo Sistema ed a distruggere
le varie copie o stampe, dandocene gentilmente comunicazione. Ogni
utilizzo improprio è contrario ai principi del nuovo Regolamento Europeo
GDPR n. 679/2016.