getSentFriendRequest
api.getSentFriendRequest()
Parameters
Return
Promise<GetSentFriendRequestResponse>
Types
ts
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
ts
api.getSentFriendRequest()
.then(console.log)
.catch(console.error);