Suggestion: add support for Telegram

Development discussions for FossaMail

Moderator: satrow

Locked
User avatar
KNTRO
Astronaut
Astronaut
Posts: 640
Joined: 2013-01-01, 10:46
Location: ᴀᴍéʀɪᴄᴀ ʟᴀᴛɪɴᴀ
Contact:

Suggestion: add support for Telegram

Post by KNTRO » 2016-12-08, 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.
”kulupu li wile e sama mute e ken mute ala la, kulupu li jo e mute ala pi ijo tu.
kulupu li wile e ken mute e sama mute ala la, kulupu li jo e mute pi ijo tu.”
jan Miton Piman

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 25001
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Suggestion: add support for Telegram

Post by Moonchild » 2016-12-08, 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.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

half-moon

Re: Suggestion: add support for Telegram

Post by half-moon » 2016-12-08, 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: 25001
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Suggestion: add support for Telegram

Post by Moonchild » 2016-12-08, 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".
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
KNTRO
Astronaut
Astronaut
Posts: 640
Joined: 2013-01-01, 10:46
Location: ᴀᴍéʀɪᴄᴀ ʟᴀᴛɪɴᴀ
Contact:

Re: Suggestion: add support for Telegram

Post by KNTRO » 2016-12-08, 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:
”kulupu li wile e sama mute e ken mute ala la, kulupu li jo e mute ala pi ijo tu.
kulupu li wile e ken mute e sama mute ala la, kulupu li jo e mute pi ijo tu.”
jan Miton Piman

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 25001
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Suggestion: add support for Telegram

Post by Moonchild » 2016-12-08, 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).
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
KNTRO
Astronaut
Astronaut
Posts: 640
Joined: 2013-01-01, 10:46
Location: ᴀᴍéʀɪᴄᴀ ʟᴀᴛɪɴᴀ
Contact:

Re: Suggestion: add support for Telegram

Post by KNTRO » 2016-12-08, 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.
”kulupu li wile e sama mute e ken mute ala la, kulupu li jo e mute ala pi ijo tu.
kulupu li wile e ken mute e sama mute ala la, kulupu li jo e mute pi ijo tu.”
jan Miton Piman

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 25001
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Suggestion: add support for Telegram

Post by Moonchild » 2016-12-08, 21:12

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

User avatar
KNTRO
Astronaut
Astronaut
Posts: 640
Joined: 2013-01-01, 10:46
Location: ᴀᴍéʀɪᴄᴀ ʟᴀᴛɪɴᴀ
Contact:

Re: Suggestion: add support for Telegram

Post by KNTRO » 2016-12-08, 21:36

Does that mean that you're not going to add support for Telegram in FossaMail?
”kulupu li wile e sama mute e ken mute ala la, kulupu li jo e mute ala pi ijo tu.
kulupu li wile e ken mute e sama mute ala la, kulupu li jo e mute pi ijo tu.”
jan Miton Piman

dark_moon

Re: Suggestion: add support for Telegram

Post by dark_moon » 2016-12-08, 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: 25001
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Suggestion: add support for Telegram

Post by Moonchild » 2016-12-09, 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".
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

dark_moon

Re: Suggestion: add support for Telegram

Post by dark_moon » 2016-12-09, 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: 25001
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Suggestion: add support for Telegram

Post by Moonchild » 2016-12-09, 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.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

Locked