payments.SuggestedStarRefBots

class pyrogram.raw.base.payments.SuggestedStarRefBots

A list of suggested mini apps with available affiliate programs

Constructors:

This base type has 1 constructor available.

payments.SuggestedStarRefBots

A list of suggested mini apps with available affiliate programs

Functions:

This object can be returned by 1 function.

payments.GetSuggestedStarRefBots

Obtain a list of suggested mini apps with available affiliate programs

TL Schema

payments.suggestedStarRefBots#b4d5d859
flags:#
count:int
suggested_bots:Vector<StarRefProgram>
users:Vector<User>
next_offset:flags.0?string

= payments.SuggestedStarRefBots

Parameter Tree

SuggestedStarRefBots
├── countint
├── suggested_botsVector < StarRefProgram >
│ └── StarRefProgram
│ ├── bot_idlong
│ ├── commission_permilleint
│ ├── duration_monthsint (optional)
│ ├── end_dateint (optional)
│ └── daily_revenue_per_userStarsAmount (optional)
│ ├── StarsAmount
│ │ ├── amountlong
│ │ └── nanosint
│ └── StarsTonAmount
│ └── amountlong
├── usersVector < User >
│ ├── UserEmpty
│ │ └── idlong
│ └── User
│ ├── is_selftrue (optional)
│ ├── contacttrue (optional)
│ ├── mutual_contacttrue (optional)
│ ├── deletedtrue (optional)
│ ├── bottrue (optional)
│ ├── bot_chat_historytrue (optional)
│ ├── bot_nochatstrue (optional)
│ ├── verifiedtrue (optional)
│ ├── restrictedtrue (optional)
│ ├── mintrue (optional)
│ ├── bot_inline_geotrue (optional)
│ ├── supporttrue (optional)
│ ├── scamtrue (optional)
│ ├── apply_min_phototrue (optional)
│ ├── faketrue (optional)
│ ├── bot_attach_menutrue (optional)
│ ├── premiumtrue (optional)
│ ├── attach_menu_enabledtrue (optional)
│ ├── bot_can_edittrue (optional)
│ ├── close_friendtrue (optional)
│ ├── stories_hiddentrue (optional)
│ ├── stories_unavailabletrue (optional)
│ ├── contact_require_premiumtrue (optional)
│ ├── bot_businesstrue (optional)
│ ├── bot_has_main_apptrue (optional)
│ ├── bot_forum_viewtrue (optional)
│ ├── bot_forum_can_manage_topicstrue (optional)
│ ├── idlong
│ ├── access_hashlong (optional)
│ ├── first_namestring (optional)
│ ├── last_namestring (optional)
│ ├── usernamestring (optional)
│ ├── phonestring (optional)
│ ├── photoUserProfilePhoto (optional)
│ │ ├── UserProfilePhotoEmpty
│ │ └── UserProfilePhoto
│ │ ├── has_videotrue (optional)
│ │ ├── personaltrue (optional)
│ │ ├── photo_idlong
│ │ ├── stripped_thumbbytes (optional)
│ │ └── dc_idint
│ ├── statusUserStatus (optional)
│ │ ├── UserStatusEmpty
│ │ ├── UserStatusOnline
│ │ │ └── expiresint
│ │ ├── UserStatusOffline
│ │ │ └── was_onlineint
│ │ ├── UserStatusRecently
│ │ │ └── by_metrue (optional)
│ │ ├── UserStatusLastWeek
│ │ │ └── by_metrue (optional)
│ │ └── UserStatusLastMonth
│ │ └── by_metrue (optional)
│ ├── bot_info_versionint (optional)
│ ├── restriction_reasonVector < RestrictionReason > (optional)
│ │ └── RestrictionReason
│ │ ├── platformstring
│ │ ├── reasonstring
│ │ └── textstring
│ ├── bot_inline_placeholderstring (optional)
│ ├── lang_codestring (optional)
│ ├── emoji_statusEmojiStatus (optional)
│ │ ├── EmojiStatusEmpty
│ │ ├── EmojiStatus
│ │ │ ├── document_idlong
│ │ │ └── untilint (optional)
│ │ ├── EmojiStatusCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── document_idlong
│ │ │ ├── titlestring
│ │ │ ├── slugstring
│ │ │ ├── pattern_document_idlong
│ │ │ ├── center_colorint
│ │ │ ├── edge_colorint
│ │ │ ├── pattern_colorint
│ │ │ ├── text_colorint
│ │ │ └── untilint (optional)
│ │ └── InputEmojiStatusCollectible
│ │ ├── collectible_idlong
│ │ └── untilint (optional)
│ ├── usernamesVector < Username > (optional)
│ │ └── Username
│ │ ├── editabletrue (optional)
│ │ ├── activetrue (optional)
│ │ └── usernamestring
│ ├── stories_max_idRecentStory (optional)
│ │ └── RecentStory
│ │ ├── livetrue (optional)
│ │ └── max_idint (optional)
│ ├── colorPeerColor (optional)
│ │ ├── PeerColor
│ │ │ ├── colorint (optional)
│ │ │ └── background_emoji_idlong (optional)
│ │ ├── PeerColorCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── gift_emoji_idlong
│ │ │ ├── background_emoji_idlong
│ │ │ ├── accent_colorint
│ │ │ ├── colorsVector < int >
│ │ │ ├── dark_accent_colorint (optional)
│ │ │ └── dark_colorsVector < int > (optional)
│ │ └── InputPeerColorCollectible
│ │ └── collectible_idlong
│ ├── profile_colorPeerColor (optional)
│ │ ├── PeerColor
│ │ │ ├── colorint (optional)
│ │ │ └── background_emoji_idlong (optional)
│ │ ├── PeerColorCollectible
│ │ │ ├── collectible_idlong
│ │ │ ├── gift_emoji_idlong
│ │ │ ├── background_emoji_idlong
│ │ │ ├── accent_colorint
│ │ │ ├── colorsVector < int >
│ │ │ ├── dark_accent_colorint (optional)
│ │ │ └── dark_colorsVector < int > (optional)
│ │ └── InputPeerColorCollectible
│ │ └── collectible_idlong
│ ├── bot_active_usersint (optional)
│ ├── bot_verification_iconlong (optional)
│ └── send_paid_messages_starslong (optional)
└── next_offsetstring (optional)

Example

SuggestedStarRefBots(
    count=0,
    suggested_bots=[
            StarRefProgram(
                bot_id=0,
                commission_permille=0,
                duration_months=None,
                end_date=None,
                daily_revenue_per_user=None
            )
        ],
    users=[
            UserEmpty(id=0)
        ],
    next_offset="text",
)