Big thanks to free CallMeBot service, this adapter allows you to send Signal messages to yourself or other number.
Note : The Free API is only for personal use!
Following documentation was copied from callmebot page.
You need to get the API key form the bot before using the API:
I allow callmebot to send me messages
(in english) to the new contact created (using Signal of course).I allow callmebot to send me messages
aigain. Normally you should see your phonenumber inside the link now and you can use your phonenumber inside the adapter.API Activated for your phone number. Your APIKEY is 123123
from the bot. As this is still in beta testing, the activation can take up to 2 minutes.Example:
There are two possibilities to send a messages: ATENTION! It has been noticed that when sending multiple messages within one second, CallMeBot locks a user for 15 minutes. Therefore, it should be ensured that only one message is sent per second.
signal-cmb.0.sendMessage
. Just write some text into this state and the message will be sent to default number, that was configured in settings dialog.sendTo('signal-cmb.0', 'send', {
text: 'My message',
phone: '+491234567890' // optional, if empty the message will be sent to the default configured number
});
To send Emojies, you must add some 'Codes' to your Message. You can find all available codes here: https://www.callmebot.com/uncategorized/list-of-urlencoded-unicode-emoticons-emojis/
The following Emojies are official supported from CallMeBot: | Code | Emojie |
---|---|---|
%F0%9F%98%80 | ||
%F0%9F%98%83 | ||
%F0%9F%98%84 | ||
%F0%9F%98%81 | ||
%F0%9F%98%86 | ||
%F0%9F%98%85 | ||
%F0%9F%A4%A3 | ||
%F0%9F%A4%A3 | ||
%F0%9F%98%82 | ||
%F0%9F%99%82 | ||
%F0%9F%98%89 | ||
%F0%9F%98%8A | ||
%F0%9F%98%87 |
To use an Emojie, you have to insert the code of the Emojie to your text, what you want to send.
The signal-cmb adapter URLencode this code and you see in your Signal Messenger on you phone the Emojie.
MIT License
Copyright (c) 2022 derAlff derAlff@gmail.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.