Skip to content

updates.getDifference

No description provided by the pinned schema.

updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;

updates.Difference

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
ptsintNo description provided by the pinned schema.
pts_limitflags.1?intflags.1No description provided by the pinned schema.
pts_total_limitflags.0?intflags.0No description provided by the pinned schema.
dateintNo description provided by the pinned schema.
qtsintNo description provided by the pinned schema.
qts_limitflags.2?intflags.2No description provided by the pinned schema.
ParameterBitMeaning
pts_limit1Controlled by flags; present when this bit is set.
pts_total_limit0Controlled by flags; present when this bit is set.
qts_limit2Controlled by flags; present when this bit is set.
from miniproto.raw.functions import UpdatesGetDifference

Public access: miniproto.raw.functions.UpdatesGetDifference.

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

updates.Difference

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.
400CDN_METHOD_INVALIDYou can’t call this method in a CDN DC.
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_PRIVATEYou haven’t joined this channel/supergroup.
400CHAT_NOT_MODIFIEDNo changes were made to chat information because the new information you passed is identical to the current information.
400DATE_EMPTYDate empty.
400MSG_ID_INVALIDInvalid message ID provided.
400PERSISTENT_TIMESTAMP_EMPTYPersistent timestamp empty.
400PERSISTENT_TIMESTAMP_INVALIDPersistent timestamp invalid.
400USERNAME_INVALIDThe provided username is not valid.
400USER_NOT_PARTICIPANTYou’re not a member of this supergroup/channel.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403CHAT_WRITE_FORBIDDENYou can’t write in this chat.
500RANDOM_ID_DUPLICATEYou provided a random ID that was already used.

No non-primitive type relationships were found.

updates.Difference Known selected constructors: updates.difference, updates.differenceEmpty, updates.differenceSlice, updates.differenceTooLong

  • 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