Messages sent to my sample Telegram Bot cannot be seen by one with whom I share the bot link - telegram-bot

I have created a sample Telegram Bot. http://t.me/zOS_Telegram_bot
I am being able to send text messages to the bot. For example, check the "Testing our new Telegram Bot!!!" messages that I am being able to send to the bot. enter image description here
However, when I share the bot link http://t.me/zOS_Telegram_bot with someone else, he/she cannot see the messages. What is it that I am missing here?

Related

How to send message to the user by using telegram id and python_telegram_bot library?

I want to send the message to anybody by using his telegramid and python_telegram_bot library.
I can send the message to me by using below code but if I put other's id then I can not send the message and it says chat not found message.
updater = Updater(mybot_token, use_context=True)
updater.bot.send_message(chat_id = receiver_id, text="welcome")
I am not sure why it is only possible to send the message to me, not the others even though I puth the chat_id as their telegram_id.
Bots can only send messages to users that have already started the bot. See the Telegram Bot docs.

Go to chat message with specific text with Telegram API

I'm looking for information about this, but I don't find anything.
Is possible send to user to a chat message that contains a specific text?
This request below can be made with multiple languages.
https://api.telegram.org/bot[BOT_API_KEY]/sendMessage?chat_id=[MY_CHANNEL_NAME]&text=[MY_MESSAGE_TEXT]
where:
BOT_API_KEY is the API Key when you created your bot
MY_CHANNEL_NAME is the handle of your channel (e.g. #my_channel_name)
MY_MESSAGE_TEXT is the message you want to send (URL-encoded)
https://medium.com/#xabaras/sending-a-message-to-a-telegram-channel-the-easy-way-eb0a0b32968

Get chat_id from bot to bot conversation

So What Im trying to accomplish is a bot that forwards messages from one specific user to one specific group chat. I started my testing by using my own chat_id and the bot perfectly forwards my messages to the right groupchat.
The problem is tho, that I want to forward messages that I receive from a bot. So I am trying to gather the chat_id between this bot and my bot but I can't get my head around how I should send and/or receive a message from this bot to gather said chat_id because I cant use it's #username in a /sendMessage? URL.
Why doesn't my bot see messages from other bots? Bots talking to each
other could potentially get stuck in unwelcome loops. To avoid this,
we decided that bots will not be able to see messages from other bots
regardless of mode.
Telegram Bots FAQ

Telegram Bot messages

Is it possible that bots send messages in chats only to specific members, and the messages aren't visible for other members of the chat?
For example:
There is a chat with 200 members and the bot is one of them. Somebody sends a command /help and bot responds only to him and others don't see the response
You can't do this at this time, but there are deleteMessage method you might interested.
And there are inline keyboard can ask users to START your bot, just put https://t.me/Bot as URL value.

How can I send message to specific chatID?

I have chatId and want send messages while execute some tasks from java code. I found this explain on telegram "Bots can't initiate conversations with users. A user must either add them to a group or send them a message first. People can use telegram.me/ links or username search to find your bot." But my task works good when I use https request directly from browser. My bot perfectly answer for requests but how I can do this without user request?
I can not truly understand your case!
Anyway, your bot can send a message to a chat ID Only if the user witch blongs to the specified chat ID added your bot (send start to a bot).
and if it happened then send your message with
/sendMessage