Gitter Receipe
- Official Website: https://gitter.im/
- Icon Support: Yes
- Message Format: Markdown
- Message Limit: 32768 Characters per message
Account Setup
Gitter isn't to difficult to get yourself an account on their website.
From here, you just need to get your Gitter Personal Access Token which is as simple as visiting their development website and signing in (if you're not already). Almost immediately you should see a pop-up box providing you your token.
**Note: You can ignore the App generation feature here as it's not relevant to sending an magic notification.
The last thing you need to know about this is you need to have already joined the channel you wish to send notifications to. The Personal Access Token represents you, so even if you join a channel and close out of your web browser, you're still actually a part of that channel (until you log back in and leave the channel).
Channels identify themselves as name/community; you only need to focus on the name. So if the channel was [confluxbot/community], the channel name can be assumed to be confluxbot when using this script.
Receipe
Valid receipes are as follows:
- gitter://{token}/{room}/
- gitter://{token}/{room1}/{room2}/{roomN}/
- gitter://{token}/{room}/?image=Yes
Parameter Breakdown
Variable | Required | Description |
---|---|---|
token | Yes | The Personal Access Token associated with your account. This is available to you after signing into their development website. |
room | No | The room you want to notify. You can specify as many as you want of these on the URL. |
image | No | Send an image representing the message type prior to sending the message body. This is disabled by default. |
to | No | This is an alias to the room variable. |