Having more than one bot admin in Telegram - bots

I administer a group on Telegram and have created some bots using Bot Father and Manybot.
Now, I have got someone who will help me create content and schedule the Posts. I can’t find out how to allow her to access the bot and have editing rights.
Is it possible?
Many thanks!

(wrong, check the comment below) only thing you can do is to transfer your bot to "someone" with#BotFather -> /mybots -> some_bot -> Transfer Ownership -> "someone"

Related

telegram bot auto leaving from channel

hi all i'm new to telegram apis and bot, i'm having some troubles with my bot: i setted it, got my token and it can become the admin of the channels i do need to admin with it. just the bot every now and then just leave the channel by itself when another administrator of the same channel in whitch it is in posts a message or invite a new user to the channel. does it make any sense to you? is there a solution to keep it in charge of the channel?
other infos: i program in php, the bot is needed to post messages in telegram via a web site programmed in php
i would apreciate a real answear and not just a paste of the link to telegram bot documentation
thanks a lot

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.

How to fire method when user enter in group?

Looking at the Telegram API documentation I can't find any hook that allow me to call a method when an user enter in a group.
Note that forma 'enter' I mean when the user open the chat, and not a join to the group.
I'm using TelegrafJS framework.
Kind regards.
As far as I know it's a security feature that you have no access to what people 'open', there is a reason that the join button is there, so that people share their info with the group when they are comfortable sharing it.
If there was, you'd have to use the same solution with a different result (I.E: new_browsed_users)
Since the Update object doesn't return it, then we can assume there isn't a way.
Telegram Bot Event When Users Join To Channel
I'm not in TelegrafJS, but should be like this:
bot.on('new_chat_members', (ctx) => ctx.reply('👍'))
See "new_chat_members" here.

Chat messages from Dialogflow don't appear in Slack

I'm creating a bot with Dialogflow. It's quite straigtforward, and it worked on Telegram in no time. But things complicated when trying to integrate Dialogflow with Slack.
My bot is able to read direct messages from Slack, and I'm sure of it because the messages from Slack appear in the History section of Dialogflow. Good news there. In the same screen, I can see that Dialogflow answered all the messages Slack sent to it. But sadly, those answers don't appear in Slack.
By the way, just to confuse me more, the Dialogflow's test bot works flawlessly with Slack, publishing there with no issue. So, it's not anything related with the common values you have to copy from Slack and paste to Dialogflow to enable the integration.
It seems that my bot on Slack misses some kind of permission of the OAuth & Permissions screen, but I've tried some of theme, and I can't find the good one. Right now I'm using bot, chat:write:bot, im:write, and channels:read. I guess that only the two first ones are needed, but I'm totally lost and tried adding permissions with no reason. And then, I wrote this post.
Is there someone who has a simple bot that sends messages in direct messages on Slack? What are the needed permissions?
I had the same issue, it's quite easy to solve: just go on Manage Distribution in your bot's Slack API panel and click on the "Add to Slack" button.
That's all!
Under OAuth & Permissions, add "chat:write" to OAuth Scope. That will allow your bot to send messages to other users.

Don't let member to send message in telegram group

I'm looking for a way in telegram group that don't let member to send message or, delete message after a person send.
Is it possible to create a bot like this how help admins to stop chatting after start the bot?
Is there any other way to do this?
Now you can do this.
Restriction from chatting in group:
Now you can achieve this with restrictChatMember() Bot API method.
Deletion of users' messages:
For deletion use this method: deleteMessage()
DON'T forget to grant admin rights to your bot.
11/07/18: This answer is no longer up to date please look at woozly's answer
Short answer: No (at least not with the bot api)
Longer answer:
There currently is no way of stopping someone from chatting without outright kicking them out of the group. Additionally, bots currently lack the ability to delete messages so that's also not doable with the bot API.
Edit: Actually it's probably possible using the Telegram API instead of the Telegram Bot API where you would just create a regular user which is controlled programmatically to delete messages of "muted" people. I assume that this is likely not as simple as doing stuff with the bot API but in theory, it's possible.
#telemethebot has exact the feature you request:
Silent Mode
When group silent mode switched on, only group administrators can speak in that group. This help you turning your Telegram supergroup to a channel temporarily.
Teleme - Features

Resources