-
I didn't find in the documentation a way to approve the entry request or to disapprove is it possible?, if yes, can you send me examples? Telegram have methods approveChatJoinRequest |
Beta Was this translation helpful? Give feedback.
Answered by
rojvv
Jun 27, 2022
Replies: 1 comment 2 replies
-
You can approve like this: await client.invoke(
new Api.messages.HideChatJoinRequest({
peer: chatId,
userId: userId,
approved: true,
}),
); And disapprove like this: await client.invoke(
new Api.messages.HideChatJoinRequest({
peer: chatId,
userId: userId,
approved: false,
}),
); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
codexJoin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can approve like this:
And disapprove like this: