Comments (1)
Unfortunately the begin() method is currently not sufficient to get the chat id.
You have to receive at least one message or for example use this address https://t.me/JsonDumpBot
Once you have the right chat id, compare it with msg.sender.id value in loop() and discard messages if don't match.
from asynctelegram.
Related Issues (20)
- Add custom sendMessage parameter (feat request) HOT 2
- SIM800 support HOT 1
- Send message by User ID: backward compatibility issue on 1.0.9+ HOT 3
- loss of sending multiple messages HOT 4
- New release make code fail. HOT 3
- It is not good to use the wifi check in the library HOT 6
- Strange behavior when ESP32-CAM initiate an image send HOT 2
- Thank you for your ESP-32 Cam example, now I can receive a photo in full resolution HOT 1
- sendToGroup is deprecated - what is the new method to send to group ? HOT 2
- How to get the user chat_id HOT 7
- Channel_id? HOT 13
- Flush message queue? HOT 2
- ESP32 gif message crash
- inline keyboard not working
- connection status checking and stop HOT 1
- espressif8266 @ 3.0.0 warnings HOT 1
- Transmitting characters HOT 4
- Callback query issue HOT 1
- Не работает OTAupdate_ESP8266
- sendToChannel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asynctelegram.