Learn R Programming

rtgstat (version 0.3.2)

tg_channel: Get chennel info

Description

Get general information about the channel - link to the channel, name, description, avatar, number of subscribers at the moment.

Usage

tg_channel(channel_id = tg_get_channel_id())

Value

tibble with channel metadata

Arguments

channel_id

hannel ID (@username, t.me/username, t.me/joinchat/AAAAABbbbbcccc ... or channel ID in 'TGStat')

References

See also TGStat API Documentation of metrod channels/get

Examples

Run this code
if (FALSE) {
channel <- tg_channel(channel_id = "R4marketing")
}

Run the code above in your browser using DataLab