Nostrum.Struct.Embed.put_timestamp
You're seeing just the function
put_timestamp
, go back to Nostrum.Struct.Embed module for more information.
Specs
Puts the given value
under :timestamp
in embed
.
Examples
iex> embed = %Nostrum.Struct.Embed{}
...> Nostrum.Struct.Embed.put_timestamp(embed, "2018-04-21T17:33:51.893000Z")
%Nostrum.Struct.Embed{timestamp: "2018-04-21T17:33:51.893000Z"}