Skip to contents

The method allows you to search for channels by keyword or get a list of channels in a category.

Usage

tg_channels_search(
  query = NULL,
  search_by_description = FALSE,
  country = "ru",
  language = "russian",
  category = NULL,
  limit = 100
)

Arguments

query

Search keyword

search_by_description

Search in channel description?

country

Channel geography (country). Use tg_countries for get countries dictionary.

language

Channel content language. Use tg_languages for get languages dictionary.

category

Channel category. Use tg_categories for get categories dictionary.

limit

Maximum number of channels in a response, no more than 100.

Value

tibble with channels

Examples

if (FALSE) {
channels <- tg_channels_search(
   query    = "data",
   country  = "ru",
   category = "tech"
)
}