diff --git a/bindings/group.go b/bindings/group.go index af9e5d204a941f945bb869aa975a8966699e4a78..e47cd9fc91c9631a2504bc88f68fec3eb2bfb07d 100644 --- a/bindings/group.go +++ b/bindings/group.go @@ -190,6 +190,11 @@ func (gsr *GroupSendReport) GetRoundID() int64 { return int64(gsr.roundID) } +// GetTimestampNano returns the timestamp of the send in nanoseconds. +func (gsr *GroupSendReport) GetTimestampNano() int64 { + return gsr.timestamp.UnixNano() +} + // GetTimestampMS returns the timestamp of the send in milliseconds. func (gsr *GroupSendReport) GetTimestampMS() int64 { ts := uint64(gsr.timestamp.UnixNano()) / uint64(time.Millisecond)