getSentFriendRequest
Lấy danh sách lời mời kết bạn đã gửi
api.getSentFriendRequest()
Parameters
Return
Promise<GetSentFriendRequestResponse>
Types
export type SentFriendRequestInfo = {
userId: string;
zaloName: string;
displayName: string;
avatar: string;
globalId: string;
bizPkg: ZBusinessPackage;
fReqInfo: {
message: string;
src: number;
time: number;
};
};
export type GetSentFriendRequestResponse = {
[userId: string]: SentFriendRequestInfo;
};
Examples
api.getSentFriendRequest()
.then(console.log)
.catch(console.error);
Related
Last updated