\(x) with
classic function(x) in tg_api_usage() to
maintain compatibility with R versions < 4.1.0 without adding a hard
Depends: R (>= 4.1.0) requirement. This fixes the CRAN
NOTE during the 0.3.5 submission.Language: ru to Language: en-US in
DESCRIPTION to fix Nu HTML checker warnings reported by CRAN (the
documentation is written in English).httptest2 to
mock API responses and preserve rate limits.httr2::req_retry() compatibility in
recent httr2 versions (parameter after now
expects a function).dplyr syntax in tg_api_usage() to
comply with recent dplyr changes (replaced
across(...) external vector warnings and deprecated
... argument).tg.max_tries options from 1 to
2.It fixed error:
Error in `req_retry()`:
! `max_tries` must be a whole number larger than or equal to 2 or `NULL`, not the number 1.
tg_make_request(), now
using req_error() for response error handing.tg_channels_search()- Search telegram channel.tg_get_token(), previously the function only looked
for the token in the options, ignoring the environment variable issue#1tg_get_token() return error when API token doesn’t
set.tg_channel_avg_posts_reach() - Getting the average
coverage of channel publications over time.tg_channel_err() - Obtaining an ERR indicator for a
channel in dynamics.tg_set_check_api_quote() - Enable and disable API limit
rate alerts.tg.check_api_quote - allows you to disable api quota
check.tg_set_channel_id():
object 'tg_channel_id' not found.tg_api_usage().rtgstat added to TGStat
API documentation.httr2, using
req_retry().tg_make_request() by
req_user_agent().req_url_path_append()
inside tg_make_request().tg_categories(), tg_countries(),
tg_languages().retry removed from rtgstat
dependencies.NEWS.md file to track changes to the
package.