Commit 62c45a45 authored by Danial Behzadi's avatar Danial Behzadi
Browse files

update to latest pyrogram api

parent 83d8b75b
......@@ -6,7 +6,7 @@ To make it work, do the following:
$ git clone
$ cd tgchannel2toot
$ virtualenv -p python3 --no-site-packages --distribute .env
$ python3 -m venv .env
$ source .env/bin/activate
(.env)$ pip3 install -r requirements.txt
#! /usr/bin/env python3
# Danial Behzadi - 2018
# Released under GPLV3+
# Released under GPLv3+ License
# Danial Behazdi <>, 2018-2021
import config
import os
from pyrogram import Client
from pyrogram import Client, idle
from mastodon import Mastodon
def get_text_and_media(message):
......@@ -43,7 +43,7 @@ def main():
if __name__ == '__main__':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment