View source: R/tg_channel_mentions.R
tg_channel_mentions | R Documentation |
The method allows you to get a list of mentions of a channel in other channels.
tg_channel_mentions(
channel_id = tg_get_channel_id(),
start_date = Sys.Date() - 15,
end_date = Sys.Date()
)
channel_id |
Channel ID (@username, t.me/username, t.me/joinchat/AAAAABbbbbcccc ... or channel ID in 'TGStat') |
start_date |
Date mentioned from |
end_date |
Date mentioned to |
A publication is considered a mention if it contains a link to a channel like username, t.me/username, t.me/username/1234.
In case of mentioning a channel, the mention_type
parameter will contain the value 'channel'. If a specific publication of the channel is mentioned, then the parameter will contain the value 'post'.
tibble with mention data
See also TGStat API Documentation of metrod channels/mentions
## Not run:
mentions <- tg_channel_mentions(
channel_id = 'R4marketing',
start_date = '2021-10-01',
end_date = '2021-10-31'
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.