How to add user using telegram bot - bots

I need to add users using a telegram bot, I know that the standard bot API will not be able to do this, what other options can there be?
I read that you can do this through the client, maybe someone has examples of this?

I already develope the code for it
You can access it from the link
(developed with telethon library)

Related

Telegram bot VOIP calls

there is an option to make my telegram bot call my telegram account? Something like bot.make_call(...).
I'm using telebot library on python,
Thanks!
Telegram bots cannot make calls to users. To call a user you need to logged in as a user and not a bot. You can use pyrogram (A telegram client).
Here's a link to my answer where I explain how it's done.
https://stackoverflow.com/a/72335362/11814361

Can telegram bot access recent action from telegram supergroup?

So i would like to make a bot that can access recent action from my supergroup. The flow is pretty simple, i want the bot to scrape all of the information inside of it and save it into database. I made it with python and telegram bot API
The bot is already admin and he can do anything that admin could do.
Is it possible to do that???
No. Bots can only do what's listed in the official API docs at https://core.telegram.org/bots/api. Instead, you can just keep track of what's happening in the chat.

is there a method to take screenshots of telegram chat?(want to make a telegram chat screenshot taker)

I am currently writing a bot to take screenshots of Telegram chat in Python.
I have written the options the bot is supposed to give to the user when it's started but I have no idea how to do this.
is it possible at all?
does telegram even let us do such a thing?
Based on official Documents of Telegram :
Bots are no different from human users that you meet in groups for example. They can see your public name, username, and profile pictures, and they can see messages you send to them, that's it.
and you can find more information from bots-privacy-mode
so basically Telegram doesn't let BOTs do such things as taking screenshots.

discord.js fetch user integrations

I'm making a discord.js bot and I want to read user integrations from the user id. But I can't find it from the docs and I don't know how to do it. Since I can see the integrations when I log in, I think that it would be available with discod.js, too. How can I do it?
You just can't fetch user connections without using Oauth2, unfortunately.

sending direct messages from nodejs script to telegram

Is it possible to send a message from a node.js server to someone's mobile number or telegram Id directly?
is it possible without using a telegram bot?
I need an API like below:
function sendMessage(senderTelegramId, receiverTelegramId, messageText)
In short: No, without a bot no way for now.
Detailed explanation:
In order for you to send users messages on telegram you would need to create your own telegram bot. They have a well documented API which you can read and play around with.
There are 2 things you should know about sending messages to users using telegram bot:
You can't just send random people messages on telegram even if you know their phone number, to send them messages you need to have their chat_id. See how in the docs
To get the chat_id the user must first click the start button that comes up when they open your bot for the first time. Telegram will send you the chat id of that user and you save it for later when you would want to send messages to that user.
There are tons of libraries that makes working telegram bots very easy, it wouldn't take you more than an hour to get started.
I hope this answers the question, feel free to ask further questions, I have made some bots and you can also play around with them to see how it works.
Cheers )
There is actually one more easiest way to send a message to chat
just fetch the URL
https://api.telegram.org/bot[BOT_API_KEY]/sendMessage?chat_id=[MY_CHANNEL_NAME]&text=[MY_MESSAGE_TEXT]
you can find more details here
https://xabaras.medium.com/sending-a-message-to-a-telegram-channel-the-easy-way-eb0a0b32968

Resources