Current section

Files

Jump to
telega include telega@broadcast_Broadcast.hrl
Raw

include/telega@broadcast_Broadcast.hrl

-record(broadcast, {
client :: telega@client:telegram_client(),
source :: telega@broadcast:source(),
send :: fun((telega@client:telegram_client(), integer()) -> {ok, any()} |
{error, telega@error:telega_error()}),
rate :: integer(),
window_ms :: integer(),
on_progress :: gleam@option:option(fun((telega@broadcast:broadcast_progress()) -> nil))
}).