The emails, chats, notes, and messages sent by league members.
league_messages(leagueId = ffl_id(), leagueHistory = FALSE, ...)
Numeric league ID or ESPN fantasy page URL. Defaults to
getOption("fflr.leagueId")
. Function fails if no ID is found.
logical; Should the leagueHistory
version of the API
be called? If TRUE
, a list of results is returned, with one element for
each historical year of the league.
Additional queries passed to httr::GET()
. Arguments are
converted to a named list and passed to query
alongside view
.
A tibble of messages.
Other league functions:
draft_recap()
,
league_members()
,
league_standings()
,
league_status()
,
league_teams()
,
tidy_schedule()
,
transaction_counter()
league_messages(leagueId = "42654852")
#> # A tibble: 3 × 7
#> id type author date content messages viewableBy
#> <chr> <chr> <chr> <dttm> <chr> <list> <list>
#> 1 47a940be CHAT_ALL_MEMB… {22DF… 2024-08-26 01:04:14 Ready … <NULL> <NULL>
#> 2 65c56889 CHAT_ALL_MEMB… LM 2024-08-21 15:25:45 NA <NULL> <NULL>
#> 3 5af42ec9 NOTE {22DF… 2021-09-13 23:46:07 This [… <NULL> <NULL>