Is it possible to use this library to listen to a particular chart? #251
lieyongchang
started this conversation in
General
Replies: 2 comments 8 replies
-
yeah sure, client.addEventHandler(async (event) => {
event.message.reply({message:"Chat id is "+event.message.chatId});
}, new NewMessage({chats: [-1001032212174]})); |
Beta Was this translation helpful? Give feedback.
7 replies
-
@painor
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
as the title suggest, i am just wondering if it is possible to listen to only a chat if I have its chat id?
Beta Was this translation helpful? Give feedback.
All reactions