Skip to content

contacts.getTopPeers

No description provided by the pinned schema.

contacts.getTopPeers#973478b6 flags:# correspondents:flags.0?true bots_pm:flags.1?true bots_inline:flags.2?true phone_calls:flags.3?true forward_users:flags.4?true forward_chats:flags.5?true groups:flags.10?true channels:flags.15?true bots_app:flags.16?true bots_guestchat:flags.17?true offset:int limit:int hash:long = contacts.TopPeers;

contacts.TopPeers

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
correspondentsflags.0?trueflags.0No description provided by the pinned schema.
bots_pmflags.1?trueflags.1No description provided by the pinned schema.
bots_inlineflags.2?trueflags.2No description provided by the pinned schema.
phone_callsflags.3?trueflags.3No description provided by the pinned schema.
forward_usersflags.4?trueflags.4No description provided by the pinned schema.
forward_chatsflags.5?trueflags.5No description provided by the pinned schema.
groupsflags.10?trueflags.10No description provided by the pinned schema.
channelsflags.15?trueflags.15No description provided by the pinned schema.
bots_appflags.16?trueflags.16No description provided by the pinned schema.
bots_guestchatflags.17?trueflags.17No description provided by the pinned schema.
offsetintNo description provided by the pinned schema.
limitintNo description provided by the pinned schema.
hashlongNo description provided by the pinned schema.
ParameterBitMeaning
correspondents0Controlled by flags; present when this bit is set.
bots_pm1Controlled by flags; present when this bit is set.
bots_inline2Controlled by flags; present when this bit is set.
phone_calls3Controlled by flags; present when this bit is set.
forward_users4Controlled by flags; present when this bit is set.
forward_chats5Controlled by flags; present when this bit is set.
groups10Controlled by flags; present when this bit is set.
channels15Controlled by flags; present when this bit is set.
bots_app16Controlled by flags; present when this bit is set.
bots_guestchat17Controlled by flags; present when this bit is set.
from miniproto.raw.functions import ContactsGetTopPeers

Public access: miniproto.raw.functions.ContactsGetTopPeers.

from miniproto.raw.functions import ContactsGetTopPeers
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = ContactsGetTopPeers

contacts.TopPeers

CodeErrorDescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection.
400TYPES_EMPTYNo top peer type was provided.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

No non-primitive type relationships were found.

contacts.TopPeers Known selected constructors: contacts.topPeers, contacts.topPeersDisabled, contacts.topPeersNotModified

  • user only
  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery