TIP: You can type at any time to perform a new search.
Telegram Standalone
mail_gateway_telegram_standalone · OCA/social
- Repository
- OCA/social · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Social
- Folder size
- 0.05 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/social
- Last tracking update
- 2026-08-07 08:42:59
- Authors
- Odoo Community Association (OCA), Anmol Garg
- Maintainers
- Odoo Community Association (OCA), Anmol Garg
- Committers
- Weblate, OCA-git-bot, oca-ci, Anmol Garg
- Odoo dependencies
- Python dependencies
- cairosvg, lottie, python-telegram-bot
- System dependencies
- None
- Required by
- None
- 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.
Code Analysis ⓘ
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.