Hi, how do I forward a text to a specific user?
``` javascript
bot.get(/Hi|hi|yuo|oh/, function(message) {
var gets = new Forward().from(@User);
bot.send(gets);
});
```
bot.get(/Hi/hi/yuo/oh/, function (message) {varforward=newForward().from(message.chat.id)// chat where is original message located
.message(message.message_id)// id of original message
.to(message.chat.id)// chat id of recipient. Same chat in this example
bot.send(forward);})
Hi @FullZero5 .
Here is an example:
``` javascript
bot.get(/Hi/hi/yuo/oh/, function (message) {
var forward = new Forward()
.from(message.chat.id) // chat where is original message located
.message(message.message_id) // id of original message
.to(message.chat.id) // chat id of recipient. Same chat in this example
bot.send(forward);
})
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hi, how do I forward a text to a specific user?
Hi @FullZero5 .
Here is an example:
Hey, we have documentation
Thanks @edencore for answering him!
Thanks