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
v2 bot can be used to send msg to hunters if they are on Sphinx
To send a simple text msg to a user, they need to be added first (key exchange must be completed). If the bot invited the user in the first place, then they may already be connected?
v2 bot can be used to send msg to hunters if they are on Sphinx
To send a simple text msg to a user, they need to be added first (key exchange must be completed). If the bot invited the user in the first place, then they may already be connected?
First, check if the user exists already:
You must wait until the
contact_key
is defined, that means the user has signed on and key exchange has been completedIf user does exist:
/send
to send a msgFor simple text msg, set amt_msat=0, is_tribe=false. wait=true will wait until the msg succeeded before returning
If user does not exist:
add_contact
will send the key exchange request, then you can useget_contact
again to checkThe text was updated successfully, but these errors were encountered: