Bingex.User.GetReferralsData (Bingex v0.1.7)

Retrieves and structures a list of referral data for a user in BingX.

This module processes multiple referral entries from the API response, ensuring proper decoding and embedding within replies.

Summary

Types

t()

@type t() :: %Bingex.User.GetReferralsData{referrals: [Bingex.User.ReferralInfo.t()]}

Functions

decode(arg1)

@spec decode(any()) :: {:ok, t()} | :error

embed_in_reply(reply)

@spec embed_in_reply(Bingex.API.Reply.t()) :: Bingex.API.Reply.t(t())