-
Training runs on free hosting openshift
-
مراحل اجراء سورس
# Tested and will run without problem
Import the https://github.com/alireza1998/DontEditBOT to your Github and edit(line 3 token|line 4 userid)
Creating an account on the site www.openshift.com
And build an application
Choose PHP 5.4
Import ex: https://github.com/alireza1998/DontEditBOT.git
And click on Create Application
The last step is to set the webhook
https://api.telegram.org/bot<token>/setwebhook?url=https://harchi-harchi.rhcloud.com/index.php
Example: https://api.telegram.org/bot2410172AGLGw1-P8Djir3ngaWDF-_Cf5Nzx-47Q/setwebhook?url=https://phpdontedit-alirezapt.rhcloud.com/index.php