Telegram Standalone
mail_gateway_telegram_standalone · OCA/social
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 2 months ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 18.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
3 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.05 MB
Module directory on disk
Code analysis
0 migration notes
2 models
1 view
0 HTTP endpoints
Description
This module provides a generic engine to integrate Telegram Bots with Odoo. It serves as a foundation for other modules to send notifications, allowing you to manage bot tokens and authorized chat IDs in a centralized way.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 1
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
mail_gateway_view_form_inherit_mail_gateway_telegram_standalone |
mail.gateway.view.form.inherit.mail.gateway.telegram.standalone | mail.gateway | form | Inherits mail_gateway.mail_gateway_form_view |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 2
New fields (1)
-
telegram_chat_idsOne2many → telegram.chatstring='Authorized Chats' args: 'telegram.chat', 'gateway_id'
-
action_fetch_chats(self)Automatically discovers Chat IDs of people who messaged the bot -
action_test_connection(self)Button to test connection to all registered simple chats -
send_message(self, chat_id, message, parse_mode='HTML')Low-level method to send a raw message via Telegram API
New fields (3)
-
chat_idCharhelp='Numeric ID from Telegram'required=True -
gateway_idMany2one → mail.gatewayondelete='cascade'string='Mail Gateway' args: 'mail.gateway' -
nameCharhelp='Friendly name for the chat (e.g. Admin Group)'required=True
No public methods.