class Telegram(object):
from requests import get
def __init__(self, token: str, log_channel: int, admins: list):
self.token = token
self.log = log_channel
self.admins = admins
class Instagram(object):
from InstagramAPI import InstagramAPI
def __init__(self, username, password):
self.username = username
self.password = password
#self.api = InstagramAPI(self.username, self.password)
class App(Instagram, Telegram):
def __init__(self, username: str, password: str, token: str="", log_channel: int=0, admins: list=[]):
Telegram.__init__(self, username, password)
Instagram.__init__(self, token, log_channel, admins)
a = App("", "")
Tópico class Telegram(object):
5 mensagens · –M M V M