Skip to content

searchAffiliatePrograms

Function · TDLib 1.8.67 · d1085f9c

Searches affiliate programs that can be connected to the given affiliate

searchAffiliatePrograms(
  affiliate: AffiliateType,
  sort_order: AffiliateProgramSortOrder,
  offset: string,
  limit: int32
) → FoundAffiliatePrograms

affiliate

AffiliateType

The affiliate for which affiliate programs are searched for

sort_order

AffiliateProgramSortOrder

Sort order for the results

offset

string

Offset of the first affiliate program to return as received from the previous request; use empty string to get the first chunk of results

limit

int32

The maximum number of affiliate programs to return