You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
I would like to send a message to a contact in one-to-one chat instead of making a reply.
If I understand correctly, say() can only send a reply to the sender or in a room with @mention.
So if I have a contact's id, is there a way I can initiate a one-to-one chat message to that contact instead of requiring a sender to send a message to the bot first?
Possible solution:
Do you think the say function should take 2 more parameters, which let us specify roomId and contactId?
If roomId and contactId are both unspecified, then it could send a reply as usual.
The text was updated successfully, but these errors were encountered:
raymondpang365
changed the title
Is there a way to send message to a contact by specifying the contact if using say()?
Is there a way to send message to a contact instead of making a reply using say()?
Apr 5, 2019
Problem:
I would like to send a message to a contact in one-to-one chat instead of making a reply.
If I understand correctly, say() can only send a reply to the sender or in a room with @mention.
So if I have a contact's id, is there a way I can initiate a one-to-one chat message to that contact instead of requiring a sender to send a message to the bot first?
Possible solution:
Do you think the say function should take 2 more parameters, which let us specify roomId and contactId?
If roomId and contactId are both unspecified, then it could send a reply as usual.
[enhancement]
The text was updated successfully, but these errors were encountered: