Telegram Notifications
-
@jypelle I already have as noted in my question, the issue is the documentation doesn't show an example of how to use that information and input it into your form.
It might be a nice update if you accept a tgram URI like Discord accepts a URL, so humans don't have to parse out which numbers are which. Also the incrementing input fields here doesn't make sense, especially starting from 0.
Would you make it easier on us please?
FYI for everyone else, this is what the tgram:// URI looks like:
tgram://1234567890:AABjz5PVuBo0rRKQqRg9PjKRHYk14VTtzDU:123456789
The API token field expects the first TWO fields:
1234567890:AABjz5PVuBo0rRKQqRg9PjKRHYk14VTtzDU
The Chat ID field expects the rest:
123456789
-
Sorry @robi, I didn't know about the tgram URI syntax. I'll try to take it into account in a future release.
@jypelle I just explained it.
It may be AppRise specific:
- Use AppRise URLs for notification to just about any service! Please read the notification services wiki here for important configuration notes.
- discord:// (or
https://discord.com/api/webhooks...
)) only supports a maximum 2,000 characters of notification text, including the title. - tgram:// bots can't send messages to other bots, so you should specify chat ID of non-bot user.
- tgram:// only supports very limited HTML and can fail when extra tags are sent, read more here (or use plaintext/markdown format)
gets://
,posts://
,puts://
,deletes://
for direct API calls (or omit the "s
" for non-SSL ieget://
) more help here- Accepts the
{{token}}
placeholders listed below
-
@robi What a pity AppRise doesn't offer its library in Go
At the time I thought tgram URI syntax was a format proposed by Telegram.
In retrospect, I'm a little annoyed at using the format specific to a library.