79 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
83
views
C++ TDLib client loops without stopping for std::getline when waiting for phone number input
I'm working on a C++ program using TDLib
to log into Telegram. I want to prompt the user for their phone number, verification code, and 2FA password.
However, the program loops infinitely and never ...
0
votes
0
answers
41
views
TdLib SearchMessages misses the latest message
Why the SearchMessages method in TdLib returns one less message than expected. I sent Q1, Q2, Q3. FoundMessages.totalCount = 3, message[Q2, Q1]. If I send a message Q4 FoundMessages.totalCount = 4, ...
0
votes
0
answers
72
views
Cannot integrate TDLib in Xcode 16.3
I’m trying to use TDLibKit (Swift wrapper for Telegram Database Library) in a SwiftUI project on an Intel Mac.
I added TDLibKit via Swift Package Manager, which depends on TDLibFramework.
...
0
votes
1
answer
133
views
Get messages from a specific topic in a group
I currently have a service in docker, the purpose of which is to retrieve the data I have in a private group I have (forum), where I store all my personal data, and then save them on my local server.
...
-1
votes
1
answer
75
views
How to authenticate Telegram (tdweb) users on my backend nodejs server?
I'm using tdweb for Telegram login in the browser. After successful client-side authentication, how can I securely verify the user's identity on my backend server when they make API requests?
2
votes
1
answer
448
views
How to Use TDLib with PHP to Retrieve Data from a Telegram Channel?
I'm trying to use TDLib with PHP to retrieve data from a public Telegram channel. I couldn't find clear documentation or examples online for achieving this. Below is what I have tried so far.
I am ...
0
votes
1
answer
214
views
telegram tdLib: getting comments to posts in a channel
How can I get all comments to a post in a channel? to get posts i use the method getChatHistory, and I see group id on some messages like:
reply_info=#<TD::Types::MessageReplyInfo reply_count=18 ...
1
vote
0
answers
137
views
iOS build is getting rejected on AppStoreConnect, with tdLib
I ran into this problem while uploading my flutter app on App Store Connect:
Introductory: my application uses the tdlib library (for telegram), complied in libtdjson.xcframework for iOS containing ...
1
vote
0
answers
225
views
how to use telethon(tdlib python impl) send_message to a topic
I am writing a simple Telegram message handler using the Telethon library
I'v already used the code below to forward to the specified topic
await client(
ForwardMessagesRequest(
from_peer=...
0
votes
1
answer
87
views
Where to use tdlib options?
The TDlib documentation page mentions some options. Where and how can they be used? I just haven't found any mention of it anywhere.
I'm especially interested in where is the guidance on using options ...
2
votes
1
answer
245
views
Unexpected Chats in "UpdateNewChat" Event in TDLib
I am experiencing an issue with the UpdateNewChat event when using the LoadChats method in TDLib. Occasionally, I receive updates for chats that I am no longer a member of or have never been a member ...
1
vote
0
answers
254
views
get stats of tg channel
There is a need to get the number of channel subscribers in a telegram over time.
I tried to use tdlib, had difficulty installing it, but then difficulties arose. I use python, I managed to connect ...
0
votes
1
answer
1k
views
How to Send a Message on Telegram with Only Public User ID (Without Access Hash)?
I'm working on a Telegram integration as userClient and need to send messages to users, but I only have their public user IDs. Typically, sending messages requires both the user ID and the access hash....
1
vote
1
answer
141
views
How do I override location for dynamically linked libgcc_s?
I'm attempting to build an executable on a Debian Bookworm system to be run on Debian Bullseye.
I have downloaded and unpacked library packages for Bullseye in dedicated directories to link against.
...
-1
votes
1
answer
242
views
Telegram for android on C#
Does anyone have a simple telegram client example written in C# that can be run on android?
I found simple java example for android: https://github.com/androidmads/TelegramBotSample
I found simple C# ...