Skip to content

Instantly share code, notes, and snippets.

@tadeha
Forked from PurpleBooth/README-Template.md
Last active September 9, 2017 05:30
Show Gist options
  • Save tadeha/786e80630b2b8f7160305112695c1679 to your computer and use it in GitHub Desktop.
Save tadeha/786e80630b2b8f7160305112695c1679 to your computer and use it in GitHub Desktop.
A template to make good README.md

Techpin Telegram Bot

What can this bot do❔

▶️ Watch the list of startups depending on their categories

▶️ Search for details of any startup using keywoards or names

▶️ Watch a random startup and its details

screenshot

Installing

If you want to run this code on your local machine you should install and run XAMPP/MAMP dependind on your OS. You can follow this link to get the idea of how to install them on your local machine and run a simple PHP code:

http://www.dwuser.com/education/content/why-you-need-a-testing-server-and-how-to-do-it/

Thanks to Dana Winslow for her great Article!😊

If you want to run this code on your own server you should have a server capable of running PHP +5 code.

Running the tests

Follow these steps to set-up & test your bot:

1- Setup your bot with @BotFather (You can follow the link below) :

http://telegra.ph/Set-up-your-bot-with-BotFather-09-06

2- After you received your bot authorization token JUST SAVE IT SOMEWHERE!!😁

3- Prepare a SSL server for your .PHP file (It should be like https://example.com)

4- Set Webhook for your bot by following this link:

https://api.telegram.org/bot<token>/setWebhook?url=https://mywebsite.com/path/to/giveawaysbot.php

5- Happy Coding!😉 You can easilly test this file on your own server ☺️

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Tadeh Alexani - Initial work - TadehA

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone who's code was used
  • Inspiration
  • etc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment