This API manages all of the GET and POST requests you would need with Telegram related services.
macOS
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Windows
py -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
-
Obtain your API ID and API hash from https://my.telegram.org/ -> API Development Tools.
-
Go to the Pipedrive Developer Hub, create an app, name it whatever, and paste the following callback URL.
https://telegram-crm-plugin.herokuapp.com/auth/pipedrive/callback
-
Hit Save, go to the Oauth and access scopes tab, enable messaging integration, and upload the
manifest.json
file.
-
Click this: https://telegram-crm-plugin.herokuapp.com/
-
Enter your phone number associated with your telegram account, it should include the country code, so "+1" for the US.
-
Enter the rest of the associated information from telegram and pipedrive.
-
When you submit, you should get an auth code from Telegram to input into the field. (This will happen once twice since I still need to ditch the second client)
-
You will be redirected to an OAuth page that will connect the plugin to Pipedrive, accept it.
-
Enter a random channel id (it doesn't matter), leave
provider type
as other, and enter a channel name you'd like. -
All done, send a message from Telegram to anybody (could be yourself), and refresh the pipedrive page.