#Using TDlib (telegram database library) with no guide

3 messages · Page 1 of 1 (latest)

tawdry rapids
#

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

pastel hemlockBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

calm glacier
#

You'll need to ask specific questions to get any useful help