Defines a channel for further interaction.
inputPeerChannel#20adaef8 channel_id:int access_hash:long = InputPeer;
| Name | Type | Description |
|---|---|---|
| channel_id | long | Channel identifier |
| access_hash | long | access_hash value from the channel constructor |
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:
titlemegagroupcolorphotousernameusernameshas_geonoforwardsemoji_statushas_linkslow_mode_enabledscamfakegigagroupforumlevelrestrictedrestriction_reasonjoin_to_sendjoin_requestis_verifieddefault_banned_rightssignature_profilesautotranslationbroadcast_messages_allowedmonoforumforum_tabslinked_monoforum_idsend_paid_messages_starsbot_verification_iconSee here ยป for an implementation of the logic to use when updating the local user peer database.