| 
				
					 | 
			9 år sedan | |
|---|---|---|
| .. | ||
| Readme.md | 9 år sedan | |
| __init__.py | 9 år sedan | |
| push_message.py | 9 år sedan | |
Send broadcast communications to groups of subscribers.
Available client are:
This neuron is based on Pushetta API. You need to create a free account and a chanel before using it. You need to install a client App on the target device.
| parameter | requiered | default | choices | comment | 
|---|---|---|---|---|
| message | yes | Message that will be send to the android phone | ||
| api_key | yes | Token API key availlable from Pushetta dashboard | ||
| channel_name | yes | Name of the subscribed channel | 
No returned value
The following synapse will send a push message to device that have subscribed to the channel name "my_chanel_name" when you say "push message".
 - name: "send-push-message"
   signals:
      - order: "push message"
   neurons:
     - android_pushetta:
         message: "Message to send"
         api_key: "TOEKENEXAMPLE1234"
         channel_name: "my_chanel_name"    
Note: You must install a client App on the target device.
Note: You must create a channel an get a token key on Pushetta website before using the neuron.