Questions tagged [tdlib]

TDLib (Telegram Database library) is a cross-platform library for building Telegram clients. It can be easily used from almost any programming language.

67 questions
2
votes
1 answer

how to get channel's data list from Telegram by TDLib?

Telegram, I need to get channel's data list. I use for this case TdApi. Documentation: https://javadoc.tlgrm.ru/org/drinkless/td/libcore/telegram/TdApi.html I do it based on this example: https://core.telegram.org/tdlib/tdlib.zip. I still got chat's…
Akira
  • 63
  • 1
  • 6
2
votes
1 answer

how to add tdlib to android studio project

I'm trying to add TDlib to my android studio project but I can't. in core.telegram.org/tdlib just tells me to use the android prebuilt library but does not say how to add it to an existing project to start building a custom client. if I open the…
Kike_mskt
  • 45
  • 1
  • 6
2
votes
0 answers

Telegram unable to import the contacts in node js

Importing the excel with phone numbers and tried to send the same message to all the numbers. I'm using the "tdlib" for telegram API in node js. node version 10.16. I'm getting the below error always [ 2][t…
Jegan
  • 530
  • 7
  • 27
2
votes
0 answers

Telegram Database Library (TDLib) in Vue project

I'd like to use the Telegram Messaging system for my plattform's real time communication. Is it possible that I can make my users search each other and add them to a chat on my vue site? Thanks in advance
alexfwulf
  • 199
  • 1
  • 13
2
votes
1 answer

TDLib (Telegram Database library) authentication and login example by Bannerets/tdl (Node.js pakage)

I so search about TDLib (Telegram Database library) authentication and login example but can't found any things :(
morteza ataiy
  • 541
  • 4
  • 12
1
vote
1 answer

How to login bot via WTelegramClient

This library allows you to connect to Telegram and control a user programmatically (or a bot, but Telegram.Bot is much easier for that). I see WTelegramClient can control a bot, but I don't know how to login a bot. Please give me an exsample just…
1
vote
0 answers

Action not being executed on indented lines of a list

So I am using Python 3 to create a script with Telegram API but have come across a pickle. Essentially I want anything I post to one channel to automatically be posted to a list of other channels. As there are a lot of channels I am pretty sure I…
Mimi Beard
  • 11
  • 2
1
vote
0 answers

Cmake: How can i build TDLib source code with OpenSSL?

I'm trying to build a tdlib using this instruction: https://tdlib.github.io/td/build.html?language=JavaScript. Programming language: JavaScript Operating system: Linux (Node.js) Linux distro: Alpine The build instructions for the node.js say: Note…
pibocik125
  • 103
  • 2
  • 12
1
vote
1 answer

i got an error while compiling - visual studio windows (c++)

I get unresolved external symbol __imp_td_receive. I have .lib static library files in node-gyp incorrectly. Also, I get same error except about other function (from this header). And i have one warning LINK : warning LNK4075: ignoring…
1
vote
2 answers

Video call through the body of tegram api

I would like to know whether it is possible to start a video call with another user by means of the tdlib library and transfer a picture from a camera connected to a Raspberry Pi to this call? And if so, how do you do that? What methods should I…
Vadim
  • 51
  • 5
1
vote
0 answers

Socket.io doesn't work with two promises and two sockets

I'm trying to log into the telegram with this library: https://github.com/Bannerets/tdl, I need to send the phone number and code through the frontend, the only way I saw to do this was using socket.io, when I use a promise with a socket it works…
user253867
  • 11
  • 1
1
vote
0 answers

TlSharp uses TlRequestGetParticipants to obtain the maximum number of channel members only 10K. Is there any way to break through this limit

while (offset < (res.FullChat as TLChannelFull).ParticipantsCount) { var pReq = new TLRequestGetParticipants() { Channel = new TLInputChannel() { AccessHash = chat.AccessHash.Value,…
jianwei923
  • 33
  • 5
1
vote
1 answer

How to cancel Client.send in Tdlib?

I'm writing Telegram authentication via Tdlib and have found that library handles retries internally (e.g. when I'm trying to send phone number to start authentication and connection is poor/missing library would schedule pause-n-retry…
1
vote
0 answers

Go build tdlib very slow rebuild

I am using 2 go bindings for tdlib: each of them builds like 270seconds each time I change a line in my main.go file. TDLib is built using gcc. Is there a way not to rebuild it every time I change a line? I am using go build -v main.go command for…
Fominykh Maxim
  • 485
  • 1
  • 6
  • 20
1
vote
0 answers

Possible to build Telegram client with Ionic?

I'd like to use Tdlib to make a Telegram client with Ionic ie build to web, iOS, and Android. I've got tdlib running locally but's unclear how tdlib will be included in a compiled Ionic app or if it's possible without writing a cordova plugin. Are…
wcjord
  • 499
  • 3
  • 14