Suggestion: add support for Telegram

Development discussions for FossaMail

Moderator: satrow

User avatar
KNTRO
Astronaut
Astronaut
Posts: 605
Joined: Tue, 01 Jan 2013, 10:46
Location: Sudamérica
Contact:

Suggestion: add support for Telegram

Unread postby KNTRO » Thu, 08 Dec 2016, 05:24

Hello,

Currently the Chat feature of FossaMail supports: Facebook Chat, IRC, XMPP, Yahoo!, Yahoo! Japan, Google Talk, Odnoklassniki & Twitter. Since Telegram offers an API for create Telegram clients, could this be implemented in FossaMail? That would be a killer feature, in my opinion.

Thanks for reading.

BR.
Image
Our pale faces sink in time
Either way it's suicide

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21462
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Suggestion: add support for Telegram

Unread postby Moonchild » Thu, 08 Dec 2016, 09:11

FossaMail's chat capabilities are built on libpurple. Since that doesn't support telegram, it'd have to be a brand new implementation.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
half-moon
Keeps coming back
Keeps coming back
Posts: 909
Joined: Sun, 20 Jul 2014, 12:30
Location: USA

Re: Suggestion: add support for Telegram

Unread postby half-moon » Thu, 08 Dec 2016, 15:05

Telegram is kind of useless with out having a phone; In fact, you need a phone to sign up.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21462
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Suggestion: add support for Telegram

Unread postby Moonchild » Thu, 08 Dec 2016, 15:55

half-moon wrote:Telegram is kind of useless with out having a phone; In fact, you need a phone to sign up.

Correction, you need a smartphone with a mobile subscription.
I have a regular mobile and a VoIP line, and it won't accept either, even though they are valid phone numbers it claims they are "invalid".
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
KNTRO
Astronaut
Astronaut
Posts: 605
Joined: Tue, 01 Jan 2013, 10:46
Location: Sudamérica
Contact:

Re: Suggestion: add support for Telegram

Unread postby KNTRO » Thu, 08 Dec 2016, 17:30

Moonchild wrote:FossaMail's chat capabilities are built on libpurple. Since that doesn't support telegram, it'd have to be a brand new implementation.


I'm using this plugin since a couple of weeks on Pidgin. Works fine for basic text interchange. It also works with images and audio files —you can't click to play though, need an external audio player for the latter.

Moonchild wrote:
half-moon wrote:Telegram is kind of useless with out having a phone; In fact, you need a phone to sign up.

Correction, you need a smartphone with a mobile subscription.
I have a regular mobile and a VoIP line, and it won't accept either, even though they are valid phone numbers it claims they are "invalid".


Correction (Encore :mrgreen:), you need at least a low end mobile phone —a non smartphone— and a valid number, whatever it means. I'm using Telegram with a… landline. :wave: No kiddin'. Just chose to call me instead of send me a SMS. Then enter the code in the Telegram's sign up webpage and… voilà! Now I use Telegram Web, the Telegram program for Windows, the Telegram app for iOS and the Telegram-Purple plugin for pidgin. It's even working with IFTTT now‼ Problem, WhatsApp? :mrgreen: :mrgreen: :mrgreen:

Oh, and I know someone who hasn't a monthly mobile subscription but a prepaid plan and can use Telegram like a charm. Oh, and she has a Windows Phone. :clap:
Image
Our pale faces sink in time
Either way it's suicide

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21462
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Suggestion: add support for Telegram

Unread postby Moonchild » Thu, 08 Dec 2016, 19:39

Well, I don't know what arbitrary lists they use then to determine what is a valid number, because they most definitely did no accept my Swedish numbers (mobile or otherwise).
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
KNTRO
Astronaut
Astronaut
Posts: 605
Joined: Tue, 01 Jan 2013, 10:46
Location: Sudamérica
Contact:

Re: Suggestion: add support for Telegram

Unread postby KNTRO » Thu, 08 Dec 2016, 19:42

Moonchild wrote:I have a regular mobile and a VoIP line, and it won't accept either, even though they are valid phone numbers it claims they are "invalid".

Moonchild wrote:Well, I don't know what arbitrary lists they use then to determine what is a valid number, because they most definitely did no accept my Swedish numbers (mobile or otherwise).


Try this:
Send an email to login [at] stel [dot] com with:

Subject: your mobile or VoIP number, with international prefix and ", no code" at the end
Example of subject for landline:
+46 13 xx xxxx, no code

Example of subject for mobile line:
+46 7x xxx xxxx, no code


Message body:
This is an automated reply. If you see it first time please answer all the following questions:

1. Check your phone number in the subject line. Is it correct? . . . . . . .
2. Which company did you get your SIM card from? . . . . . . .
3. What country are you in right now? . . . . . . .
4. Are you able to receive usual text messages (SMS)? Please test it with your friends now. . . . . . . .

To activate your Telegram account you need to be able to receive SMS. We can't send codes via email.

We will reply to your email during the next 24 hours.

All the best,
The Telegram team


Replace dots by your answers.

They're likely to don't reply you after all. Just wait around 2 weeks and try to sign up again.

If that doesn't work either, contact Telegram support.
Image
Our pale faces sink in time
Either way it's suicide

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21462
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Suggestion: add support for Telegram

Unread postby Moonchild » Thu, 08 Dec 2016, 21:12

um... No. Just, No.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
KNTRO
Astronaut
Astronaut
Posts: 605
Joined: Tue, 01 Jan 2013, 10:46
Location: Sudamérica
Contact:

Re: Suggestion: add support for Telegram

Unread postby KNTRO » Thu, 08 Dec 2016, 21:36

Does that mean that you're not going to add support for Telegram in FossaMail?
Image
Our pale faces sink in time
Either way it's suicide

dark_moon

Re: Suggestion: add support for Telegram

Unread postby dark_moon » Thu, 08 Dec 2016, 21:40

Moonchild wrote:
half-moon wrote:Telegram is kind of useless with out having a phone; In fact, you need a phone to sign up.

Correction, you need a smartphone with a mobile subscription.
I have a regular mobile and a VoIP line, and it won't accept either, even though they are valid phone numbers it claims they are "invalid".

Nope. A friend register a Telegram account with a old, non-smartphone.
You only get a SMS with the authentification code. Every phone can get that.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21462
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Suggestion: add support for Telegram

Unread postby Moonchild » Fri, 09 Dec 2016, 00:32

KNTRO wrote:Does that mean that you're not going to add support for Telegram in FossaMail?

It means that I'm not exactly convinced of their motives. I don't see why they need these details unless they are profiling and want to sell the gathered numbers/data to companies.
That doesn't exactly motivate me to "add it to FossaMail" when it's not part of chat core's library and needs to be done from scratch... ;)
Maybe this can be more easily done as an extension -- mail extensions can use the html/web core back-end to do pretty much anything.

dark_moon wrote:A friend register a Telegram account with a old, non-smartphone.

Lucky for him/her! I couldn't even even start the registration process because my phone numbers were stated to be "invalid".
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

dark_moon

Re: Suggestion: add support for Telegram

Unread postby dark_moon » Fri, 09 Dec 2016, 08:18

Strange. How did you write your number? With the +dialing code or without?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 21462
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: Suggestion: add support for Telegram

Unread postby Moonchild » Fri, 09 Dec 2016, 11:52

dark_moon wrote:Strange. How did you write your number? With the +dialing code or without?

I tried every permutation and writing convention after their suggested format didn't work.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne


Return to “FossaMail Development”

Who is online

Users browsing this forum: No registered users and 1 guest