Channel

class pyrogram.api.types.Channel(id: int, title: str, photo, date: int, version: int, creator: bool = None, left: bool = None, editor: bool = None, broadcast: bool = None, verified: bool = None, megagroup: bool = None, restricted: bool = None, democracy: bool = None, signatures: bool = None, min: bool = None, access_hash: int = None, username: str = None, restriction_reason: str = None, admin_rights=None, banned_rights=None, participants_count: int = None)
ID

0xc88974ac

Parameters:
  • idint 32-bit
  • titlestr
  • photo – Either ChatPhotoEmpty or ChatPhoto
  • dateint 32-bit
  • versionint 32-bit
  • creator (optional) – bool
  • left (optional) – bool
  • editor (optional) – bool
  • broadcast (optional) – bool
  • verified (optional) – bool
  • megagroup (optional) – bool
  • restricted (optional) – bool
  • democracy (optional) – bool
  • signatures (optional) – bool
  • min (optional) – bool
  • access_hash (optional) – int 64-bit
  • username (optional) – str
  • restriction_reason (optional) – str
  • admin_rights (optional) – ChannelAdminRights
  • banned_rights (optional) – ChannelBannedRights
  • participants_count (optional) – int 32-bit