Ton.CommonMessageInfo (ton v0.5.1)

Common message info used in an external message

Summary

Types

t()

@type t() :: %Ton.CommonMessageInfo{body: Ton.Cell.t(), wallet: Ton.Wallet.t()}

Functions

new(wallet \\ nil, body \\ nil)

@spec new(Ton.Wallet.t() | nil, Ton.Cell.t() | nil) :: t()

serialize(info, cell \\ nil)

@spec serialize(t(), Ton.Cell.t() | nil) :: Ton.Cell.t()