telegram api method · layer 229 · #25a71742

channels.getChannelRecommendations

usable by users

Obtain a list of similarly themed public channels, selected based on similarities in their subscriber bases.

definition

channels.getChannelRecommendations#25a71742 flags:# channel:flags.0?InputChannel = messages.Chats;

parameters

nametypedescription
flags#Flags, see TL conditional fields
channelflags.0?InputChannelThe method will return channels related to the passed channel. If not set, the method will returns channels related to channels the user has joined.

returns

messages.Chats

errors (5)

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.
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.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).

history

present in layers 167–229 · constructor id changed 1×

idlayers
#83b70d97167–177
#25a71742178–229