Plugin : Simple message
Author:Rex.Rainbow
Download
Properties
Domain
- The root location of the Firebase data.
Sub domain
- Sub domain for this function.
Message type
- Sent message type, string or JSON object in string.
- Options : ["String","JSON string"]
Offline message
- Discard or pend offline message. Pend mode is only used for single receiver.
- Options : ["Discard","Pend"]
Actions
Domain
Action:Set domain
- Set domain ref.
- Domain ( string ) : The root location of the Firebase data.
- Sub domain ( string ) : Sub domain for this function.
Message
Action:Send
- Send message.
- Send to ID ( string ) : Send to ID.
- Message ( string ) : Message. String or JSON string for object.
Action:Clean
- Clean message box.
- Send to ID ( string ) : Send to ID.
Update
Action:Start
- Start receiving.
- Receiver ID ( string ) : ID of receiver.
Action:Stop
User info
Action:Set user
- Set user info.
- Sender ID ( string ) : Sender ID.
- Sender name ( string ) : Sender name.
Expressions
Message
Expression:LastSenderID
- Get sender ID of last message.
Expression:LastSenderName
- Get sender name of last message.
Expression:LastMessage
Conditions
Message
Condition:On receive
- Triggered when received message.