Skip to content

channels.updateColor

No description provided by the pinned schema.

channels.updateColor#d8aa3671 flags:# for_profile:flags.1?true channel:InputChannel color:flags.2?int background_emoji_id:flags.0?long = Updates;

Updates

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
for_profileflags.1?trueflags.1No description provided by the pinned schema.
channelInputChannelNo description provided by the pinned schema.
colorflags.2?intflags.2No description provided by the pinned schema.
background_emoji_idflags.0?longflags.0No description provided by the pinned schema.
ParameterBitMeaning
for_profile1Controlled by flags; present when this bit is set.
color2Controlled by flags; present when this bit is set.
background_emoji_id0Controlled by flags; present when this bit is set.
from miniproto.raw.functions import ChannelsUpdateColor

Public access: miniproto.raw.functions.ChannelsUpdateColor.

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

Updates

CodeErrorDescription
400BOOSTS_REQUIREDThe specified channel must first be boosted by its users in order to perform this action.
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.
400CHANNEL_INVALIDThe provided channel is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

InputChannel Known selected constructors: inputChannel, inputChannelEmpty, inputChannelFromMessage

Updates Known selected constructors: updateShort, updateShortChatMessage, updateShortMessage, updateShortSentMessage, updates, updatesCombined, updatesTooLong

account.getBotBusinessConnection, account.getNotifyExceptions, account.toggleWebBrowserSettingsException, account.updateConnectedBot, account.updatePersonalChannel, bots.allowSendMessage, channels.checkUsername, channels.convertToGigagroup, channels.createChannel, channels.deactivateAllUsernames, channels.deleteChannel, channels.deleteHistory, channels.deleteMessages, channels.deleteParticipantHistory, channels.editAdmin, channels.editBanned, channels.editLocation, channels.editPhoto, channels.editTitle, channels.exportMessageLink, channels.getAdminLog, channels.getChannelRecommendations, channels.getChannels, channels.getFullChannel, channels.getMessageAuthor, channels.getMessages, channels.getParticipant, channels.getParticipants, channels.inviteToChannel, channels.joinChannel, channels.leaveChannel, channels.readHistory, channels.readMessageContents, channels.reorderUsernames, channels.reportAntiSpamFalsePositive, channels.reportSpam, channels.restrictSponsoredMessages, channels.setBoostsToUnblockRestrictions, channels.setDiscussionGroup, channels.setEmojiStickers, channels.setMainProfileTab, channels.setStickers, channels.toggleAntiSpam, channels.toggleAutotranslation, channels.toggleForum, channels.toggleJoinRequest, channels.toggleJoinToSend, channels.toggleParticipantsHidden, channels.togglePreHistoryHidden, channels.toggleSignatures, channels.toggleSlowMode, channels.toggleUsername, channels.toggleViewForumAsMessages, channels.updateEmojiStatus, channels.updatePaidMessagesPrice, channels.updateUsername, chatlists.joinChatlistInvite, chatlists.joinChatlistUpdates, chatlists.leaveChatlist, communities.create, communities.getParticipantJoinedChats, communities.getPeerLinkRequests, communities.toggleAllPeerLinkRequestApproval, communities.toggleCommunityCollapsedInDialogs, communities.toggleParticipantBanned, communities.togglePeerLink, communities.togglePeerLinkRequestApproval, contacts.acceptContact, contacts.addContact, contacts.blockFromReplies, contacts.deleteContacts, contacts.getLocated, ephemeral.editMessage, ephemeral.sendMessage, folders.editPeerFolders, messages.addPollAnswer, messages.appendTodoList, messages.createForumTopic, messages.deleteChatUser, messages.deleteFactCheck, messages.deleteParticipantReaction, messages.deletePollAnswer, messages.deleteQuickReplyMessages, messages.deleteScheduledMessages, messages.editChatCreator, messages.editChatDefaultBannedRights, messages.editChatParticipantRank, messages.editChatPhoto, messages.editChatTitle, messages.editFactCheck, messages.editForumTopic, messages.editMessage, messages.forwardMessages, messages.getAllDrafts, messages.getExtendedMedia, messages.getMessagesReactions, messages.getPaidReactionPrivacy, messages.getPollResults, messages.hideAllChatJoinRequests, messages.hideChatJoinRequest, messages.migrateChat, messages.reorderPinnedForumTopics, messages.searchGlobal, messages.sendBotRequestedPeer, messages.sendInlineBotResult, messages.sendMedia, messages.sendMessage, messages.sendMultiMedia, messages.sendPaidReaction, messages.sendQuickReplyMessages, messages.sendReaction, messages.sendScheduledMessages, messages.sendScreenshotNotification, messages.sendVote, messages.sendWebViewData, messages.setChatAvailableReactions, messages.setChatTheme, messages.setChatWallPaper, messages.setGameScore, messages.setHistoryTTL, messages.startBot, messages.toggleNoForwards, messages.toggleSuggestedPostApproval, messages.toggleTodoCompleted, messages.updatePinnedForumTopic, messages.updatePinnedMessage, payments.applyGiftCode, payments.assignAppStoreTransaction, payments.assignPlayMarketTransaction, payments.craftStarGift, payments.launchPrepaidGiveaway, payments.refundStarsCharge, payments.resolveStarGiftOffer, payments.sendStarGiftOffer, payments.transferStarGift, payments.updateStarGiftPrice, payments.upgradeStarGift, phone.createConferenceCall, phone.createGroupCall, phone.declineConferenceCallInvite, phone.deleteConferenceCallParticipants, phone.deleteGroupCallMessages, phone.deleteGroupCallParticipantMessages, phone.discardCall, phone.discardGroupCall, phone.editGroupCallParticipant, phone.editGroupCallTitle, phone.getGroupCallChainBlocks, phone.inviteConferenceCallParticipant, phone.inviteToGroupCall, phone.joinGroupCall, phone.joinGroupCallPresentation, phone.leaveGroupCall, phone.leaveGroupCallPresentation, phone.sendConferenceCallBroadcast, phone.sendGroupCallMessage, phone.setCallRating, phone.startScheduledGroupCall, phone.toggleGroupCallRecord, phone.toggleGroupCallSettings, phone.toggleGroupCallStartSubscription, stats.getBroadcastStats, stats.getMegagroupStats, stats.getMessagePublicForwards, stats.getMessageStats, stories.activateStealthMode, stories.editStory, stories.getAllReadPeerStories, stories.sendReaction, stories.sendStory, stories.startLive, updates.getChannelDifference, users.suggestBirthday

  • 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