Skip to content

Demonstrate how to call the REST APIs of WhatsMate Telegram Gateway

Notifications You must be signed in to change notification settings

whatsmate/telegram-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This repository contains sample code that aims to demonstrate how to call the REST APIs of WhatsMate Telegram Gateway.

How to obtain the sample code

Method 1

If you are already familier with git, it's a no-brainer:

git clone [email protected]:whatsmate/telegram-demos.git

Method 2

However, if you are new to git and just want to download the sample code easily, click on this link:

How to run the sample code

First, follow the instructions to register your phone (or your recipient's phone) with the Telegram Gateway:

Then, explore the scripts in this repo and run them. There are 2 types of scripts in this repo:

  1. Python scripts
  2. Bash shell scripts

Just change to the corresponding directory and run the scripts there. Of course, you want to read the scripts and understand them before running them. Each script is independent and self-contained.

For example,

cd python
python send-single-telegram-text.py

Looking for Video Tutorials?

YouTube Check out our YouTube Channel!

About

Demonstrate how to call the REST APIs of WhatsMate Telegram Gateway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published