Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streams #34

Open
super3 opened this issue Nov 14, 2018 · 10 comments
Open

Streams #34

super3 opened this issue Nov 14, 2018 · 10 comments
Labels
Milestone

Comments

@super3
Copy link
Owner

super3 commented Nov 14, 2018

@super3 super3 added the feature label Nov 14, 2018
@mikhail-bot
Copy link
Collaborator

Super excited about this!!

If we go after the crypto market, Telegram is a natural first integration imho

@mikhail-bot
Copy link
Collaborator

this could be helpful https://pypi.org/project/telegram-export/

@super3 super3 added this to the MVP milestone Nov 17, 2018
@montyanderson
Copy link
Contributor

@mikhail-bot Is there a reason crypto people use Telegram and not Signal?

Signal would be interesting as the signal protocol is now built into Facebook and WhatsApp.

@mikhail-bot
Copy link
Collaborator

Lol I do not know either, but it is what it is haha.

Signal is more secure but it doesnt have huge communities like telegram

@montyanderson
Copy link
Contributor

That makes sense, I'll look into how Telegram works.

@montyanderson
Copy link
Contributor

Apps can intergrate with Telegram via bots which provide an API over http.

This seems like a good way to integrate, users can just add the nile bot and set it up to add a tab on their nile.

@montyanderson
Copy link
Contributor

In term of streams, I'm thinking of channels of json objects - maybe we should make a simple standard schema for a 'chunk'?

{
	"type": "text",
	"content": "User A: Hello!"
}

@super3
Copy link
Owner Author

super3 commented Dec 11, 2018 via email

@montyanderson
Copy link
Contributor

montyanderson commented Dec 11, 2018

Yeah, although on second thought let's add it in.

{
	"type": "text",
	"content": "User A: Hello!",
        "date": 1544551774794,
        "source": "telegram"
}

I'm thinking we should maybe make some generic types, for instance a Message type which could display imported Telegram (or Slack etc) messages.

Something like:

{
	"type": "message",
	"content": {
                "user": "Monty",
                "text": "Hello",
                "url": "http://telegram.com/"
        },
        "date": 1544551774794,
        "source": "telegram"
}

I.e. any stream could push generic 'Message' types, and they would display correctly in the UI, even if you can't easily interact with them.

montyanderson added a commit that referenced this issue Dec 13, 2018
@montyanderson
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants