Skip to Content
Menu

Telegram Integration

by
Odoo

71.57

In-App Purchases
v 17.0 Third Party 30
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies CRM (crm)
Discuss (mail)
Calendar (calendar)
Contacts (contacts)
Community Apps Dependencies
Lines of code 8157
Technical Name us_telegram
LicenseOPL-1
Websitehttps://unitsoft.com.ua/
Versions 16.0 17.0 18.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies CRM (crm)
Discuss (mail)
Calendar (calendar)
Contacts (contacts)
Community Apps Dependencies
Lines of code 8157
Technical Name us_telegram
LicenseOPL-1
Websitehttps://unitsoft.com.ua/
Versions 16.0 17.0 18.0

Telegram Integration powered by UnitSoft

Communicate with Telegram users in Odoo

Telegram Integration Module

Features

1Create bots easily

2Edit parameters

3Send messages to all bot users

4Communicate in the document chatter

5You can also quick open discuss chat with client

6Bots kanban cards

If all messengers module has been installed, you will see in Messengers >> Messengers kanban cards

7How clients will be saved in odoo?

If the client enters some data such as email or phone number, then if he also joins from another messenger, the odoo will connect them together

8View from the discuss

9View all messages

View all messages that anyone wrote to the client and messages that the client wrote in messenger

10Follow operators and their channels

View lists of operators for each bot
Each operator sees only their own bots and channels
The system chooses among online operators with less traffic
Each operator can join unprocessed leads

Documentation

Installation

  • Install this module in according to us_messenger Documentation
  • This module requires the installation of the pyTelegramBotAPI library, so make sure it is installed before you start setting up

Configuration

In Telegram

  • Send message /start then /newbot to @BotFather and follow further instructions to create a bot and get its token

In Odoo

  • Before starting the project, check the installation of the queue_job module and the presence of queue_job in the server_wide_modules parameter in the configuration file.
  • Activate Developer Mode
  • Open menu [[ Settings ]] >> Technical >> Parameters >> System Parameters
  • Check that parameter web.base.url is properly set and it's accessible over internet (it should not be a localhost). Also, telegram accepts https addresses only (i.e. not http). If you can use only localhost, use ngrok
  • Open menu [[ Messengers ]] >> Messengers
  • Select Kanban card with telegram icon and name 'Enter_bot_name' project
  • Enter token from @BotFather to field token
  • Enter bot name and select the operators with which the user will contact
  • Unarchive the project
  • Click button [Run Now] in the upper left corner

Usage

Conversation in Discuss menu

In Telegram:

  • begin conversation with created bot
  • enter contact data (email, phone number) optionally
  • click button 'Start a conversation'

In Odoo:

  • Open [[ Discuss ]] menu
  • RESULT: two contact records will be created, child and parent. Later, other children from different messengers can join the parent record
  • RESULT: there is channel with name Telegram:<TELEGRAM NAME> (the prefix can be configured in project parameter PARTNER_NAME_PREFIX). If you don't see, refresh current page
  • Open the channel and reply to message

In Telegram:

  • RESULT: the message is delivered via bot

You can continue chatting this way

Conversation in any document where there is a chatter

In Odoo:

  • Make sure that in the [[ Messengers ]] >> Messengers >> <Your bot name> >> Parameters you have 'yes' written in DUPLICATE_MESSAGE_BY_ANSWER
  • Add followers to chatter by clicking on button 'Add followers'. Select only parent contacts (without any bot name)
  • Click on button 'Send Message'. Select to whom and in which messenger to send a message. Write message and send. Note: the message will be sent not only in the selected messenger but also by mail. To disable sending by mail you can click button Followers, select follower, click 'Edit subscription', and disable 'Discussions' and enable 'Note'
  • In [[ Discuss ]] menu you will see the message from document with message with signature from which document it was written

In Telegram:

  • RESULT: A new message will appear
  • Answer on this message. Note: Reply to a message by clicking the appropriate button

In Odoo:

  • RESULT: the message from Telegram you will see in chatter document

File sending and receiving

The operator has the ability to send not just text messages, but also messages with attachments.

The Telegram Bot API has a limit on the files sent through the bot:
  • The operator cannot send to Telegram user more than 10 MB for photos and 50 MB for other files.
  • Also, the operator cannot receive files larger than 20 MB from a Telegram user.

Support

We provide free bug fixes and updates for all our modules for 1 year after purchase.

The warranty is for a clean installation of Odoo.

If you need help, please submit a request through our Support Portal at https://unitsoft.com.ua/support. Our support team, which consists of the developers who created the product, is always ready to help you.

We will not provide support (for free) if our modules do not work on your server or conflict with other modules.

We are ready to consider your requests regarding the functionality of our modules, and if they prove useful, we can take them into account when releasing new versions.

We also provide all types of Odoo support services, such as installing Odoo on your server, maintaining your Odoo server, custom development.

We invite you to familiarize yourself with our support packages here: https://unitsoft.com.ua/services-plan

Our Odoo Apps

Telegram Integration

Installation

  • Install this module in according to us_messenger Documentation

Configuration

In Telegram

  • Send message /newbot to @BotFather and follow further instructions to create a bot and get its token

In Odoo

  • Activate Developer Mode
  • Open menu [[ Settings ]] >> Technical >> Parameters >> System Parameters
  • Check that parameter web.base.url is properly set and it's accessible over internet (it should not be a localhost). Also, telegram accepts https addresses only (i.e. not http). If you can use only localhost, use ngrok
  • Open menu [[ Messengers ]] >> Messengers
  • Select Kanban card with telegram icon and name 'Enter_bot_name' project
  • Enter token from @BotFather to field token
  • Enter bot name and select the operators with which the user will contact
  • Unarchive the project
  • Click button [Run Now] in the upper left corner

Usage

Conversation in Discuss menu

In Telegram:

  • begin conversation with created bot
  • enter contact data (email, phone number) optionally
  • click button 'Connect with operator'

In Odoo:

  • Open [[ Discuss ]] menu
  • RESULT: two contact records will be created, child and parent. Later, other children from different messengers can join the parent record
  • RESULT: there is channel with name Telegram:<TELEGRAM NAME> (the prefix can be configured in project parameter PARTNER_NAME_PREFIX). If you don't see, refresh current page
  • Open the channel and reply to message

In Telegram:

  • RESULT: the message is delivered via bot

You can continue chatting this way

Conversation in any document where there is a chatter

In Odoo:

  • Make sure that in the [[ Messengers ]] >> Messengers >> <Your bot name> >> Parameters you have 'yes' written in DUPLICATE_MESSAGE_BY_ANSWER
  • Add followers to chatter by clicking on button 'Add followers'. Select only parent contacts (without any bot name)
  • Click on button 'Send Message'. Select to whom and in which messenger to send a message. Write message and send. Note: the message will be sent not only in the selected messenger but also by mail. To disable sending by mail you can click button Followers, select follower, click 'Edit subscription', and disable 'Discussions' and enable 'Note'
  • In [[ Discuss ]] menu you will see the message from document with message with signature from which document it was written

In Telegram:

  • RESULT: A new message will appear
  • Answer on this message. Note: Reply to a message by clicking the appropriate button

In Odoo:

  • RESULT: the message from Telegram you will see in chatter document

File sending and receiving

The operator has the ability to send not just text messages, but also messages with attachments.

The Telegram Bot API has a limit on the files sent through the bot:
  • The operator cannot send to Telegram user more than 10 MB for photos and 50 MB for other files.
  • Also, the operator cannot receive files larger than 20 MB from a Telegram user.
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.