From 48f9594ceb7b88726073e547136e71bb096c971d Mon Sep 17 00:00:00 2001
From: GitHub Action
inputPeerPhotoFileLocation
». inputPeerPhotoFileLocation
». 0
, must be used by bots when only a min access hash (or no access hash) is available locally, but a full access hash is required. Channel/supergroup info
+When updating the local peer database, all fields from the newly received constructor take priority over the old constructor cached locally (including by removing fields that aren't set in the new constructor).
+The only exception to the above rule is when the min
flag is set, in which case only the following fields must be applied over any locally stored version:
title
megagroup
color
photo
username
usernames
has_geo
noforwards
emoji_status
has_link
is_slow_mode_enabled
scam
fake
gigagroup
forum
level
restricted
restricted_reason
join_to_send
join_request
is_verified
default_banned_rights
See here » for an implementation of the logic to use when updating the local user peer database.
restriction_reason
restriction_reason
)