Appendix¶
This page serves as a set of miscellaneous documents referenced elsewhere.
Python requirements¶
Core features |
Plugs |
Hooks |
|
---|---|---|---|
Shell (async) |
|||
Discord
GitHub
Hangouts
Slack
Telegram
|
Web
Web UI
|
||
Web (optional)
Web UI
|
|||
Run as module |
|||
discord.py 1.x |
Discord |
||
emoji |
Discord
Slack
|
||
jinja2 (optional) |
When-Do
Sync
|
||
Hangouts |
|||
peewee 3.x |
Database (legacy) |
||
ptpython (optional) |
Shell (sync) |
||
telethon (optional) |
Telegram |
||
Database
Alerts
Local identity
Notes
Sync (optional)
|
|||
uvloop (optional) |
Optimisation |
Plug compatibility¶
✔ Feature is supported by the plug.
— No such feature in the underlying network.
Discord |
Hangouts |
IRC |
Slack |
Telegram |
|
---|---|---|---|---|---|
Features |
|||||
External profile URL |
✔ |
✔ |
— |
✔ |
✔ |
Fetch user by ID |
✔ |
✔ |
— |
✔ |
✔ [2] |
Fetch user by username |
✔ [3] |
— |
✔ |
✔ |
✔ [2] |
List known public channels |
✔ |
✔ |
✔ |
✔ |
|
List known private channels |
✔ |
✔ |
✔ [4] |
✔ |
|
Retrieve private channel |
✔ |
✔ |
✔ |
✔ |
✔ |
Create new private channel |
✔ |
✔ [6] |
✔ |
✔ |
|
Retrieve channel member list |
✔ [7] |
✔ |
✔ |
✔ |
✔ [2] |
Add member to channel |
✔ |
✔ |
|||
Remove member from channel |
✔ |
✔ |
✔ |
||
Message actions |
|||||
Edit |
✔ |
— |
— |
✔ |
✔ |
Delete |
✔ |
— |
— |
✔ |
✔ |
Pin |
✔ |
— |
— |
✔ |
✔ [9] |
Reply |
— |
— |
✔ |
✔ |
|
Forward |
— |
— |
— |
✔ |
✔ [10] |
React |
✔ |
— |
— |
✔ |
— |
Content types |
|||||
Text |
✔ |
✔ |
✔ |
✔ |
✔ |
Image |
✔ |
✔ |
✔ |
✔ |
|
Audio |
✔ |
✔ |
✔ |
||
Video |
✔ |
✔ |
✔ |
||
Document |
✔ |
✔ |
✔ |
||
Location |
✔ |
✔ |
|||
Any |
✔ |
✔ |
|||
Text formatting |
|||||
Bold |
✔ |
✔ |
✔ |
✔ |
✔ |
Italic |
✔ |
✔ |
✔ |
✔ |
✔ |
Underline |
✔ |
✔ |
✔ |
||
Strikethrough |
✔ |
✔ |
✔ |
||
Inline code |
✔ |
✔ |
✔ |
||
Preformatted |
✔ |
✔ |
✔ |
||
Link |
✔ |
✔ [11] |
✔ |
✔ |
|
Action |
✔ |
✔ |
✔ |
||
Mention |
✔ |
✔ |
✔ [13] |
Not available from any bot API endpoints, though can be done over the MTProto client APIs using bot authorisation in conjunction with a user API ID/hash.
Only if the user and bot have a mutual server.
Implemented, though listing users is typically unavailable on most public servers.
Even over MTProto, bots can’t acquire a full list – the client must maintain a list of “seen” chats and their corresponding access hashes (without which the ID is useless).
Requires sending a message with the invite.
In large servers, only online members can be retrieved.
Channel access is granted via roles; DMs have participants but are limited to at most 10.
Only one message can be pinned, a new pin replaces the current one.
Forwarded messages lose their context – no source ID or chat is included, only the author (which may also be omitted depending on the user’s privacy settings).
Only if the label text matches the URL.
Actions are emulated as a plain message in italic.
Implicit using @
syntax if the user has a public username set, or explicit using a
hyperlink to a tg://user
URI.