64 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
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....
0
votes
0
answers
203
views
Pyrogram cannot receive message from forwarded bot message
I want to forward a message from multiple channels to another channel. For some reason, I cannot receive a message coming from another bot channel. My goal is to relay a message from a public channel ...
0
votes
2
answers
2k
views
PHONE_CODE_EXPIRED (caused by auth.SignIn) Error during authorization using node package 'telegram'
when i put apiId , apiHash , mobile nummber through the bot then i received phone_code of my telegram app, when i enter phone_code in bot then i received
code:
const author = async () =&...
3
votes
0
answers
381
views
send telegram verification code with sms in mtproto telegram api
I'm working on a project to scrape data from my channels. When I use the auth.sendCode method, it sends the verification code to my Telegram account. I don't want to get the verification code from ...
0
votes
1
answer
890
views
Authenticate in MTProto without needing to get api_id & api_hash
I wondered how Telegram desktop, Android or any official Telegram app does authentication?
I mean, we can use MTProto with pyrogram or telethon, but we need api_hash and api_id. But in Telegram ...
0
votes
1
answer
807
views
telegram bot URL authorization
There are tg bots,
which has opportunities to open websites in a webview(iframe),
inside of a telegram app. Whenewer you press on a button inside bot,
it opens a webview with specific url.
This allows ...
0
votes
1
answer
287
views
How to transform html/markdown input to text+entities for sending in telegram api with nodejs?
https://core.telegram.org/api/entities
The are examples only on c++ and php
How to transform
<b>bold</b> sample
to something likes this on nodejs? (I use https://gram.js.org)
const result ...
0
votes
0
answers
3k
views
Telegram bot or API (messages.getHistory) get all chats messages history
I made a telegram bot, received a token from it and now made it an administrator. How can I get through the bot all messages from the moment it was added? There are requests in this group and I need ...
0
votes
1
answer
86
views
FILE_REFERENCE_EXPIRED at upload.getFile with inputPhotoFileLocation using mtproto/core
Can't get content from method upload.getFile using inputPhotoFileLocation, getting exeption FILE_REFERENCE_EXPIRED, Tried everything I got from the internet. using MTProto client on js
await ...
1
vote
1
answer
116
views
mtproto node.js sdk error reading of undefined resolve
I get sometimes the following error:
C:\Users\OneDrive\Desktop\node_modules@mtproto\core\src\rpc\index.js:548
waitMessage.resolve(message.result);
^
TypeError: Cannot read properties of undefined (...
1
vote
1
answer
2k
views
It is possible to use telegram API get a message group chat without using bot?
I have a question about telegram API.
I've read documents on core.telegram.org already.
As per my understanding, the most API is about bot to manage a group channel or publish a message. But my use ...
1
vote
0
answers
196
views
Different behavior Telegram API for different telegram accounts
I have two telegram accounts registered for two phone numbers. When I login to telegram data center with my first account, I can use method users.getFullUser to get information about any user. ...
0
votes
1
answer
208
views
Wtlegramclient how to call a user
I can't figure out how to call using Wtelgramclient C#.I looked at the documentation, but I couldn't figure it out, or rather make g_a_hash and PhoneProtocolCall
I have already gone through the ...
0
votes
1
answer
758
views
Get file_id or file_url of a channel message of telegram API?
I am getting messages from a telegram channel via messages.getHistory. The result is messages.channelMessages which contains a list(Vector) of message. Each message can have a messageMedia attached to ...
0
votes
0
answers
81
views
Node.js Ignore fetching replies in a telegram channel
Im trying to write a code that fetches the latest messages of a specific private telegram channel.
I want to to ignore messages replies in the channel, I couldnt find anything to help me with that.
...