Skip to content

idearun/techpin-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

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

Getting Started

More information about what is Techpin and how to use its API:

https://github.com/idearun/TechPin-API

https://github.com/idearun/TechPin-WebClient

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.

Usage

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 MPL 2.0 License - see the LICENSE.md file for details or vist the link below :

https://www.mozilla.org/en-US/MPL/2.0/

About

A Telegram bot for the Techpin.ir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages