ConnectedBotStarRef

class pyrogram.raw.base.ConnectedBotStarRef

Info about an active affiliate program we have with a Mini App

Constructors:

This base type has 1 constructor available.

ConnectedBotStarRef

Info about an active affiliate program we have with a Mini App

TL Schema

connectedBotStarRef#19a13f71
flags:#
revoked:flags.1?true
url:string
date:int
bot_id:long
commission_permille:int
duration_months:flags.0?int
participants:long
revenue:long

= ConnectedBotStarRef

Parameter Tree

ConnectedBotStarRef
├── revokedtrue (optional)
├── urlstring
├── dateint
├── bot_idlong
├── commission_permilleint
├── duration_monthsint (optional)
├── participantslong
└── revenuelong

Example

ConnectedBotStarRef(
    revoked=None,
    url="https://google.com",
    date=0,
    bot_id=0,
    commission_permille=0,
    duration_months=0,
    participants=0,
    revenue=0,
)