Français
Ouvrir dans Telegram

Fil de discussion class Telegram(object):

5 messages · –
M
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("", "")
  1. M
    TypeError: __init__() missing 1 required positional argument: 'admins'
    1. V
      ادمین مال تلگرامه توی کلاس app بنویسش توی کلاس تلگرام
PPython + Linux ExpertsPython + Linux Experts@PythonLinuxExperts · groupe · Technologie
4 287membres21écrivent en 30 jours
Fil de la communauté Ouvrir dans Telegram

Un fil public ouvert issu de l'index de recherche ChatCrawler — « le Google du Telegram public » ; actualisé à mesure que la communauté est explorée. Les heures sont en UTC.

Contenu public uniquement, API officielle de Telegram. À propos · FAQ · Limites de l'index · Retirer une page · Catalogue · Recherche · Comment nous comptons