LINEDevelopers.MessagingAPISpec behaviour (line_developers v0.1.5)
Link to this section Summary
Link to this section Callbacks
Link to this callback
broadcast!(access_token, messages, options)
Link to this callback
create_audience!(access_token, description, uids)
Link to this callback
delete_audience!(access_token, audience_id)
Link to this callback
get_audience!(access_token, audience_id)
Link to this callback
get_delivery!(access_token, date)
Link to this callback
get_profile!(access_token, user_id)
Link to this callback
get_quota!(access_token)
Link to this callback
get_statistics_per_unit!(access_token, unit_id, from, to)
Link to this callback
merge_audience!(access_token, audience_id, description, uid)
Link to this callback
multicast!(access_token, to, messages, options)
@callback multicast!( access_token :: String.t(), to :: [String.t()], messages :: [map()], options ) :: {:ok, {status :: integer(), body :: map(), headers :: list()}} | {:error, {status :: integer(), body :: map(), headers :: list()}} when options: [retry_key: Ecto.UUID.t(), notification_disabled: boolean()]
Link to this callback
narrowcast!(access_token, messages, recipient, filter, limit, options)
@callback narrowcast!( access_token :: String.t(), messages :: [map()], recipient :: map(), filter :: map(), limit :: map(), options ) :: {:ok, {status :: integer(), body :: map(), headers :: list()}} | {:error, {status :: integer(), body :: map(), headers :: list()}} when options: [retry_key: Ecto.UUID.t(), notification_disabled: boolean()]
Link to this callback
progress_narrowcast!(access_token, request_id)
Link to this callback
push!(access_token, to, messages, options)
@callback push!( access_token :: String.t(), to :: String.t(), messages :: [map()], options ) :: {:ok, {status :: integer(), body :: map(), headers :: list()}} | {:error, {status :: integer(), body :: map(), headers :: list()}} when options: [retry_key: Ecto.UUID.t(), notification_disabled: boolean()]
Link to this callback