Messagebird
To send SMS notifications through the MessageBird notification service provider, you’ll need to register with MessageBird and have a positive balance.
Configuration:
- Access Key
- Name
Attributes:
- Payment
- Type
- Amount
JavaScript Properties:
New Message:
Creates a message object.
msg = notifr.newMessage();
msg.entity_id = 'messagebird.name';
msg.attributes = {
'phone': '+79990000001',
'body': 'some text'
};
Value | Description |
---|---|
newMessage() | Method |
msg | Type: Object (Message) |
Code Example:
# messagebird
# ##################################
sendMsg =(body)->
msg = notifr.newMessage();
msg.entity_id = 'messagebird.name';
msg.attributes = {
'phone': '+79990000001',
'body': 'some text'
};
notifr.send(msg);
Last modified February 5, 2024: Merge pull request #270 from e154/master (7108cb6)