Skip to contents

Set session default channel id

Usage

tg_set_channel_id(channel_id)

Arguments

channel_id

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

Value

Using for side effect, no return data

Examples

if (FALSE) {
tg_set_channel_id('R4marketing')
stat <- tg_channel_stat()
}