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

Properties

NSString * userID
 
NSInteger startHour
 
NSInteger startMinute
 
NSInteger startSecond
 
NSInteger startTimeStamp
 
NSInteger duration
 
V2TIMReceiveMessageOpt receiveOpt
 

Property Documentation

◆ userID

- (NSString*) userID
readwritenonatomicstrong

UserID.

◆ startHour

- (NSInteger) startHour
readwritenonatomicassign

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

◆ startMinute

- (NSInteger) startMinute
readwritenonatomicassign

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

◆ startSecond

- (NSInteger) startSecond
readwritenonatomicassign

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

◆ startTimeStamp

- (NSInteger) startTimeStamp
readwritenonatomicassign

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

- (NSInteger) duration
readwritenonatomicassign

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

◆ receiveOpt

- (V2TIMReceiveMessageOpt) receiveOpt
readwritenonatomicassign

Message receive option.