IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMReceiveMessageOptInfo

Public Member Functions

 V2TIMReceiveMessageOptInfo ()
 
 V2TIMReceiveMessageOptInfo (const V2TIMReceiveMessageOptInfo &)
 
 ~V2TIMReceiveMessageOptInfo ()
 

Data Fields

V2TIMString userID
 
V2TIMReceiveMessageOpt receiveOpt
 
int32_t startHour
 
int32_t startMinute
 
int32_t startSecond
 
uint32_t startTimeStamp
 
uint32_t duration
 

Constructor & Destructor Documentation

◆ V2TIMReceiveMessageOptInfo() [1/2]

◆ V2TIMReceiveMessageOptInfo() [2/2]

◆ ~V2TIMReceiveMessageOptInfo()

Field Documentation

◆ userID

V2TIMString userID

UserID.

◆ receiveOpt

Message receive option.

◆ startHour

int32_t startHour

Get the hour field of the start time for do not disturb function.

◆ startMinute

int32_t startMinute

Get the minute field of the start time for do not disturb function.

◆ startSecond

int32_t startSecond

Get the second field of the start time for do not disturb function.

◆ startTimeStamp

uint32_t startTimeStamp

Get the start time for do not disturb function in UTC format.

Attention
  • If the returned startTimeStamp is greater than 0, you can use it directly.
  • If the returned startTimeStamp is equal to 0, you need to call getStartHour(), getStartMinute(), and getStartSecond() to get the relative start time of Do Not Disturb.

◆ duration

uint32_t duration

Get duration for do not disturb function, unit: second.