$ 21.44
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 7949 |
Technical Name |
us_telegram |
License | OPL-1 |
Website | https://unitsoft.com.ua/ |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 7949 |
Technical Name |
us_telegram |
License | OPL-1 |
Website | https://unitsoft.com.ua/ |
Telegram Integration
Receive and send messages via Telegram bot
Version: v16.0.1.0.0
1) Create bots easily.
2) Edit parameters
3) Send messages to all bot users.
4) Communicate in the document chatter.
5) You can also quick open discuss chat with client.
Telegram Integration
Installation
- Install this module in according to us_messenger Documentation
Configuration
In Telegram
- Send message
/start
then/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.
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 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