how to forward my message to other public channels in telegram? - bots

I have created a public telegram channel. I would like to forward my messages to other related channels. I tried forwarding messages to other channels, but it says "sorry, no way to forward here". I am confused with the bots and the way to use them.
What is the procedure to post in other channels?

Related

Get telegram group messages before brodcasting to anyone

I want to create a Telegram bot and use it, inside a group, as a bridge to get user messages and information, then send messages through the bot with a fake name.
So the Problem is: Bot receives the message after it's broadcasted to everyone and I should get the message and delete it, then do my stuff but this can reveal the user's identity.
I want to get the message before it's broadcasted to anyone and:
Prevent the message from broadcasting.
Bridge message through the bot and send the same message as the fake user created in my server.
Is there any other solution to use out there? except inline mode?

Getting updates from Telegram channels I have joined in nodejs

Is there a way to receive new messages that are posted in specific Telegram channels in nodejs? I.e. something similar to the twitter streaming api.
There are two or three channels that I am interested in. I want my app, written in nodejs, to get any new messages/updates/pinnedmessages that are posted in these channels (these are channels created by others, not me). My app would then perform a certain action (not on Telegram) if the new messages that were posted in the Telegram channel meet certain conditions.
Is this possible, or does this run contrary to how Telegram works?

Send my message only to subscribed server and not to my other servers

How do I send my message that is published to a Redis channel only to subscribed server (which is connected to the subscriber) and not to my other servers (where the required subscriber isn't connected).
I'm using Socket.IO and Redis server.
Have you read the documentation?
not programmed to send their messages to specific receivers (subscribers). Rather, published messages are characterized into channels, without knowledge of what (if any) subscribers there may be
I other words, you cannot target a specific subscriber.
Depending on what you are trying to achieve, you can consider using multiple channels, with each consumer using its own.

Slack & monitor private messages

I'm making an app that plans to monitor slack messages. Using RTM, i'm already monitoring the public channels, but is there a way of monitoring private communication ?
I saw there is Compliance Exports but it's far away of what I want to do as I want to process all messages easily and in real time.
There is a way to monitor all messages both from public and private channel and you don't need to bother with the RTM API.
Use the Events Api and subscribe your app to following event types:
message.channels for all messages from public channels
message.groups for all messages from private channels
When you subscribe you have two options. Team Event and Bot Events. You want to subscribe to Team Events to get everything and without having to join any channels. You can also subscribe to bot events, but then your bot will only get events for channels he is invited to.
If you don't need to monitor all channels I strongly recommend the second option to increase transparency for users and to avoid unnecessary traffic on your server. There also is a upper limit on how many events Slack will send you (max 5.000 per hour). So depending on the traffic on your Slack you might miss events if you subscribe to everything.
Note that this is the ultimate spy app that enables you to monitor all communication on your Slack team. Please use this feature responsibly and make sure you don't break any local laws. e.g. in some European countries it is illegal to monitor the communication of an employee without his/her knowledge.
Your app needs to be invited to the private channel in order to monitor it.

PubNub Chat: Which sorting channels based on which is most recently updated

I am using PubNub to create a Chat. Each chatroom is a PubNub channel. The challenge now is: how do I sort my channels such that channels with most recent posts should be on top.
I can think on 2 possibilities:
Server will listen to all channels, when a message is received, it logs it. So a chatroom model might look like {id, name, users, lastUpdate}
Everytime message is posted, app will also call server to pass in that message
Both methods doesnt seem to correct? Is there a better way? The first will require the server to listen on all channels. The second will require server to handle a request for each message.
How about using timestamp?
Actually, PubNub offers Presence APIs that lets you monitor the state of each channel, with timestamp (which specified as 17-digit precision unix time).
http://www.pubnub.com/knowledge-base/discussion/276/presence

Resources