/// <summary> /// Set the Message's timestamp. /// </summary> public static Message SetTimestamp(this Message msg, NodaTime.Instant timestamp) { return(MessageModule.SetTicksEpoch(timestamp.ToUnixTimeTicks(), msg)); }
/// <summary> /// Set the Message's timestamp. /// </summary> public static Message SetTimestamp(this Message msg, Instant timestamp) { return(MessageModule.SetTicksEpoch(timestamp.Ticks, msg)); }