v 14.0 Third Party 107
Download for v 14.0 Deploy on Odoo.sh
Included Dependencies
Lines of code 5615
Technical Name sync_telegram
Websitehttps://github.com/itpp-labs/sync-addons
You bought this module and need support? Click here!
Included Dependencies
Lines of code 5615
Technical Name sync_telegram
Websitehttps://github.com/itpp-labs/sync-addons

Telegram Integration

Receive and send messages via Telegram bot

Version: v14.0.3.2.2


Tested and maintained by
IT Projects Labs
Assitance: help@itpp.dev

Telegram Integration

Installation

  • Install this module in according to Sync Studio Documentation

Configuration

In Telegram

  • Send message /new to @BotFather and follow further instructions to create a bot and get the bot 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 localhost). Also, telegram accepts https addresses only (i.e. not http)
  • Open menu [[ Sync Studio ]] >> Sync Projects
  • Select Telegram Integration project
  • Go to Parameters tab
  • Set Secrets:
    • TELEGRAM_BOT_TOKEN
  • Unarchive the project
  • Open Manual Triggers Tab
  • Click button [Run Now] near to Setup task

Usage

In Telegram:

  • send some message to the created bot

In Odoo:

  • Open [[ Discuss ]] menu
  • RESULT: there is channel with name Telegram:<TELEGRAM NAME> (the prefix can be configured in project parameter PARTNER_NAME_PREFIX)
  • Open the channel and reply to message

In telegram:

  • RESULT: the message is delivered via bot

You can continue chatting this way

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.

Subscribing telegram user to chatter

After the bot has created a record, you can also send messages to telegram user directly from the record page (Lead, Task, etc.). In order to do that, subscribe corresponding channel to the record. Use button Show Followers -> Add Channels.

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.