To Install it:
$ pip install PyFarsi-TBot
or
$ pip3 install PyFarsi-TBot
from PYFTBot.PYFTBot import *
Get method:
print(getbot("981962025:AAFVC7vhFg6TI7IXRHzFVO2YczBuLC_WcAg","getUpdates").decode('utf8'))
Post method:
print(postbot("981962025:AAFVC7vhFg6TI7IXRHzFVO2YczBuLC_WcAg","sendMessage","{\"chat_id\":\"972274985\",\"text\":\"HelloWorld\"}").decode('utf8'))