tg_channel_mentions {rtgstat} | R Documentation |
Getting a list of mentions
Description
The method allows you to get a list of mentions of a channel in other channels.
Usage
tg_channel_mentions(
channel_id = tg_get_channel_id(),
start_date = Sys.Date() - 15,
end_date = Sys.Date()
)
Arguments
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 |
Details
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'.
Value
tibble with mention data
References
See also TGStat API Documentation of metrod channels/mentions
Examples
## Not run:
mentions <- tg_channel_mentions(
channel_id = 'R4marketing',
start_date = '2021-10-01',
end_date = '2021-10-31'
)
## End(Not run)
[Package rtgstat version 0.3.2 Index]