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.
V2TIMGroupApplication

Public Member Functions

String getGroupID ()
 
String getFromUser ()
 
String getFromUserNickName ()
 
String getFromUserFaceUrl ()
 
String getToUser ()
 
long getAddTime ()
 
String getRequestMsg ()
 
String getHandledMsg ()
 
int getApplicationType ()
 
int getHandleStatus ()
 
int getHandleResult ()
 

Static Public Attributes

static final int V2TIM_GROUP_JOIN_APPLICATION_NEED_APPROVED_BY_ADMIN = 0
 
static final int V2TIM_GROUP_INVITE_APPLICATION_NEED_APPROVED_BY_INVITEE = 1
 
static final int V2TIM_GROUP_INVITE_APPLICATION_NEED_APPROVED_BY_ADMIN = 2
 
static final int V2TIM_GROUP_APPLICATION_HANDLE_STATUS_UNHANDLED = 0
 
static final int V2TIM_GROUP_APPLICATION_HANDLE_STATUS_HANDLED_BY_OTHER = 1
 
static final int V2TIM_GROUP_APPLICATION_HANDLE_STATUS_HANDLED_BY_SELF = 2
 
static final int V2TIM_GROUP_APPLICATION_HANDLE_RESULT_REFUSE = 0
 
static final int V2TIM_GROUP_APPLICATION_HANDLE_RESULT_AGREE = 1
 

Member Function Documentation

◆ getGroupID()

String getGroupID ( )
inline

Get the group ID

Returns
Group ID

◆ getFromUser()

String getFromUser ( )
inline

Get the requester's ID. For a request to join a group, it refers to the requester's ID. For a request to invite users to a group, it refers to the inviter's ID.

Returns
Requester's ID

◆ getFromUserNickName()

String getFromUserNickName ( )
inline

Requester's nickname

Returns

◆ getFromUserFaceUrl()

String getFromUserFaceUrl ( )
inline

Requester's profile photo

Returns

◆ getToUser()

String getToUser ( )
inline

Get the handler's ID. For a request to join a group, it is 0. For a request to invite users to a group, it refers to the invitee's ID.

Returns
Handler's ID

◆ getAddTime()

long getAddTime ( )
inline

Get the time when the group pending request was added, in millisecond

Returns
Time when the group pending request was added

◆ getRequestMsg()

String getRequestMsg ( )
inline

Get the additional information added by the requester

Returns
Additional information added by the requester

◆ getHandledMsg()

String getHandledMsg ( )
inline

Get the additional information added by the handler. Only valid when the processing status is not V2TIMGroupApplication#V2TIM_GROUP_APPLICATION_HANDLE_STATUS_UNHANDLED.

Returns
Additional information added by the handler

◆ getApplicationType()

int getApplicationType ( )
inline

Get the type of the group pending request

Returns
Type of the group pending request

◆ getHandleStatus()

int getHandleStatus ( )
inline

Get the processing status of the group pending request

Returns
Processing status of the group pending request

◆ getHandleResult()

int getHandleResult ( )
inline

Get the processing type of the group pending request. Only valid when the processing status is not V2TIMGroupApplication#V2TIM_GROUP_APPLICATION_HANDLE_STATUS_UNHANDLED.

Returns
Processing type of the group pending request

Field Documentation

◆ V2TIM_GROUP_JOIN_APPLICATION_NEED_APPROVED_BY_ADMIN

final int V2TIM_GROUP_JOIN_APPLICATION_NEED_APPROVED_BY_ADMIN = 0
static

Request to join a group and need for administer or group owner's approval

◆ V2TIM_GROUP_INVITE_APPLICATION_NEED_APPROVED_BY_INVITEE

final int V2TIM_GROUP_INVITE_APPLICATION_NEED_APPROVED_BY_INVITEE = 1
static

Be invited to join a group and need for invitee's approval

◆ V2TIM_GROUP_INVITE_APPLICATION_NEED_APPROVED_BY_ADMIN

final int V2TIM_GROUP_INVITE_APPLICATION_NEED_APPROVED_BY_ADMIN = 2
static

Be invited to join a group and need for administer or group owner's approval

◆ V2TIM_GROUP_APPLICATION_HANDLE_STATUS_UNHANDLED

final int V2TIM_GROUP_APPLICATION_HANDLE_STATUS_UNHANDLED = 0
static

Not handled

◆ V2TIM_GROUP_APPLICATION_HANDLE_STATUS_HANDLED_BY_OTHER

final int V2TIM_GROUP_APPLICATION_HANDLE_STATUS_HANDLED_BY_OTHER = 1
static

Handled by others

◆ V2TIM_GROUP_APPLICATION_HANDLE_STATUS_HANDLED_BY_SELF

final int V2TIM_GROUP_APPLICATION_HANDLE_STATUS_HANDLED_BY_SELF = 2
static

Handled by yourself

◆ V2TIM_GROUP_APPLICATION_HANDLE_RESULT_REFUSE

final int V2TIM_GROUP_APPLICATION_HANDLE_RESULT_REFUSE = 0
static

Reject a request

◆ V2TIM_GROUP_APPLICATION_HANDLE_RESULT_AGREE

final int V2TIM_GROUP_APPLICATION_HANDLE_RESULT_AGREE = 1
static

Accept a request