smsjobs.EligibleToJoin

class pyrogram.raw.types.smsjobs.EligibleToJoin

SMS jobs eligibility

Constructor of EligibilityToJoin.

Details:
  • Layer: 223

  • ID: DC8B44CF

Parameters:
  • terms_url (str) – Terms of service URL

  • monthly_sent_sms (int 32-bit) – Monthly sent SMSes

Functions:

This object can be returned by 1 function.

smsjobs.IsEligibleToJoin

Check if we can process SMS jobs (official clients only).

TL Schema

smsjobs.eligibleToJoin#dc8b44cf
terms_url:string
monthly_sent_sms:int

= smsjobs.EligibilityToJoin

Parameter Tree

EligibleToJoin
├── terms_urlstring
└── monthly_sent_smsint

Example

EligibleToJoin(
    terms_url="text",
    monthly_sent_sms=0,
)