Bingex.User.GetReferralData (Bingex v0.1.7)

Retrieves and structures referral data for a user in BingX.

This module processes referral-related information from the API response, ensuring correct decoding and embedding within replies.

Summary

Types

t()

@type t() :: %Bingex.User.GetReferralData{referral: 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())