Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update acceptFriendRequest.ts #68

Closed
wants to merge 1 commit into from

Conversation

889Anonymous
Copy link

Question about the UUID of the user who sent the friend of the hook acceptFriendRequest

Question about the UUID of the user who sent the friend of the hook acceptFriendRequest
@JustKemForFun
Copy link
Contributor

hmm, you can use getUserInfo() and use the argument as the phone number of the account you want to get the user information from, from there you will get the uid parameter to pass into the acceptFriendRequest() function to accept the invitation

@JustKemForFun
Copy link
Contributor

pls create issue, pull request will be closed soon.

@RFS-ADRENO RFS-ADRENO closed this Feb 12, 2025
@889Anonymous
Copy link
Author

889Anonymous commented Feb 12, 2025 via email

@JustKemForFun
Copy link
Contributor

JustKemForFun commented Feb 12, 2025

Xin chào, Mình muốn hỏi thêm về câu hỏi trước đó. nếu như so sánh với Zalo thì thiếu cái hook là :: -> danh sách đợi acceptFriend. -» từ cái này mình mới có được userId để quyết định accept | not accept Vào 19:32, T.3, 11 Th2, 2025 Hoàng Hào @.> đã viết:

hmm, you can use getUserInfo() and use the argument as the phone number of the account you want to get the user information from, from there you will get the uid parameter to pass into the acceptFriendRequest() function to accept the invitation — Reply to this email directly, view it on GitHub <#68 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2EGB4OMXLWGKDATHKLEA4L2PHUUJAVCNFSM6AAAAABW4RVUL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNJQGY4DIOBWGI . You are receiving this because you authored the thread.Message ID: @.
>

Xin chào bạn,
Mình hiểu ý bạn đang muốn thực hiện để lấy đúng giá trị khi có yêu cầu kết bạn và sẽ được gửi đến để hiển thị ra danh sách yêu cầu kết bạn, hàm acceptFriendRequest() sử dụng để chấp nhận lời mời kết bạn từ bên owner. Vì vậy nếu muốn làm như bạn nói thì sẽ phải lắng nghe event trực tiếp khi chạy thì việc này bạn cần tạo 1 issue FEAT để trình bày rõ ràng rằng điều bạn đang muốn thực hiện trực tiếp nó mà không cần phải sử dụng đến hàm acceptFriendRequest()

Issue #49 thì cũng giống như điều bạn muốn thưc hiện thì phải

@889Anonymous
Copy link
Author

889Anonymous commented Feb 12, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants