Gets a list of all pending room invites for your app. For example, notifications that may have been sent before the user launches your app.
- Parameters
-
pageIdx | Defines which page of pending room invites to return. The first page index is 0 . |
pageSize | Defines the number of pending room invites returned on each page. |
- Returns
Request information of type Task
, including the request id, and its response message will contain data of type RoomInviteNotificationList
.
A message of type MessageType.Notification_GetRoomInvites
will be generated in response. First call message.IsError()
to check if any error has occurred. If no error has occurred, the message will contain a payload of type RoomInviteNotificationList
. Extract the payload from the message handle with message.Data
.