get_sent_timestamp


Description:

[ Version ( since = "0.13.9" ) ]
public int64 get_sent_timestamp ()

Return when this message was sent, as a number of seconds since the beginning of 1970 in the UTC timezone (the same representation used by DateTime.from_unix_utc, for instance), or 0 if not known.

If this protocol does not track the time at which the message was initially sent, this timestamp might be approximated by using the time at which it arrived at a central server.

Parameters:

this

a message

Returns:

a Unix timestamp, or 0