Quite new to C++, just did my first ever 3rd-party library installation into my project which took my whole night (seriously). And now Im having trouble becuase the docs sucks and I can't find anything that Im looking for, nor are there any good resources for learning the library online, nor even AI is managing to work. I just wanted to create a simple C++ script that:
- is a userbot, not a bot (basically logs into an actual telegram user's account to automate it [Via MTProtocol APi, dont worry too much about that part])
- listens to specific group chats, anytime a message is spent in a specific group, the program will match it against a predfined regex to validate it
- if valid, it should simply react with a "Heart" emoji to that specific message
I would love any help or support. It took literally 7 hours for me to just install the TDlib src code, compile & build, include headers and link, install CMake, install vcpkg and hell of a lot of troubleshooting. Newbie here