GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Follow on X
  • Home
  • FAQ
  • Apps
  • API
  • Protocol
  • Schema
  • Similar channels and bots
  • Privacy
  • Press
  • iPhone/iPad
  • Android
  • Mobile Web
  • PC/Mac/Linux

This view

  • Original page
  • New address

GeezerVison is showing core.telegram.org — Similar channels and bots

  • Follow on X
  • Home
  • FAQ
  • Apps
  • API
  • Protocol
  • Schema

Machine-readable version of this page: /api/recommend.md.

  • API
  • Similar channels and bots

Similar channels and bots

The API offers a method to obtain a list of similarly themed public channels and bots, selected based on similarities in their subscriber bases.

Similar channels

Scheme:

messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;
messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;

---functions---

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

Clients should invoke channels.getChannelRecommendations after joining a channel (passing the channel's peer in channel), automatically displaying a popup with a list of similarly themed channels.

The same method should also be invoked when opening a special "Similar channels" tab in the channel's profile (similar to the Media/Links/Gifs/etc tabs).

The method should also be called without setting the channel flag in the "Similar channels" section of the "Channels" tab of global search, to return a global list of recommended channels, similar to the ones the current user has already joined, see here » for more info.

The maximum number of similar channels that can be recommended by channels.getChannelRecommendations» to Premium/non-Premium users is contained in the recommended_channels_limit_premium/recommended_channels_limit_default app configuration keys.

Non-Premium users may get a reduced result set in the form of a messages.chatsSlice where count > the number of results in chats: upgrading to a Premium account will return the full result set as a messages.chatsSlice.

Similar bots

users.users#62d706b8 users:Vector<User> = users.Users;
users.usersSlice#315a4974 count:int users:Vector<User> = users.Users;

---functions---

bots.getBotRecommendations#a1b70815 bot:InputUser = users.Users;

The same method should also be invoked when opening a special "Similar bots" tab in the bot's profile (similar to the Media/Links/Gifs/etc tabs).

Non-Premium users may get a reduced result set in the form of a users.usersSlice where count > the number of results in users: upgrading to a Premium account will return the full result set as a users.users.

Telegram
Telegram is a cloud-based mobile and desktop messaging app with a focus on security and speed.
About
  • FAQ
  • Privacy
  • Press
Mobile Apps
  • iPhone/iPad
  • Android
  • Mobile Web
Desktop Apps
  • PC/Mac/Linux
  • macOS
  • Web-browser
Platform
  • API
  • Translations
  • Instant View
About
Blog
Press
Safety
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.