Author Topic: Telegram protocol  (Read 8132 times)

0 Members and 2 Guests are viewing this topic.

Offline dartraiden

Re: Telegram protocol
« Reply #15 on: 08 12 2022, 20:15:57 »
Telegram protocol just landed in nightly builds. Currently it can't do anything.
 
The following users thanked this post: Vulpix, hooddy

Offline dartraiden

Re: Telegram protocol
« Reply #16 on: 26 12 2022, 12:00:35 »
Implemented text messages sending/receiving.
Implemented status support.
« Last Edit: 26 12 2022, 13:55:03 by dartraiden »
 

Offline Vulpix

Re: Telegram protocol
« Reply #17 on: 28 12 2022, 13:40:36 »
This is great news.

I have considered Telegram and Signal as the only reasonable replacements for Tox+Discord. Tox being what it is due to the nature of the procol making it unfriendly towards mobile thus user adoption never took off.
Discord being what it is and banning 3rd party clients.

I got Telegram set up but seems after a friend added me, I wasn't able to see his messages in Miranda. I could send messages and they were sent correctly. I could see incoming messages in the netlog but they simply weren't being stored in Miranda db itself.

I don't mind sharing various logs etc to help out with Telegram proto development, because I fear Discord might just decide to randomly banhammer me one day (although it has not yet happened).
 

Offline marson

Re: Telegram protocol
« Reply #18 on: 13 01 2023, 20:36:17 »
Hello

This is my first post on the forum so hello all.

I installed the telegram plugin, it works however I have strange behaviour. Whenever I send the message to someone the messages are displayed as being send by my participant not as mine, like this. Let's say I am Marek and the other person I am talking with is called John so the conversatopm should look like:

Marek: hi John
John: hi Marek
Marek: How are you
John: fine how about you?
Marek: I'm fine too - thanks

however it looks like this

John: hi John
John: hi Marek
John: How are you
John: fine how about you?
John: I'm fine too - thanks

it is especially hard because I am using winterspeak plugin to read the incoming messages via TTS and in this case everything is read both incoming and outgoing messages since all of them ale treat as incoming one. It works that way onlu when using telegram, I am using other accounts too and everyyhing is displayed correctly on other protocols. below is my versionInfo:

VersionInfo
Quote
CPU: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz [Intel64 Family 6 Model 158 Stepping 10] [DEP Enabled] [12 CPUs]
Installed RAM: 32701 MBytes
Microsoft Windows 10 Professional Edition, 64-bit (build 22000)
Internet Explorer: 9.11.22000.0 (build 922000)
Administrator privileges: No
OS Languages: (UI | Locale (User/System)) : Polish/Polish | Polish/Polish
Free disk space on Miranda partition: 995538 MBytes

Miranda NG Version: 0.96.2 alpha build #25174 (fcf2f92e1b) x64
Build time: 12 Jan 2023 19:24:28
Profile: D:\Miranda-NG\Profiles\Marek_old\Marek_old.dat
Database driver: SQLite database driver
Profile size: 7684096 Bytes
Profile creation date: 6 Jan 2023 17:50:22
Language pack: Polish (PL) [0415]
Service Mode: No

Active Plugins (30):
¤ AVS.dll v.0.98.1.6 [5 Jan 2023 17:14:02] - Avatar service
¤ Clist_modern.dll v.0.9.1.12 [5 Jan 2023 17:14:53] - Modern contact list
¤ CrashDumper.dll v.0.2.0.1 [5 Jan 2023 17:15:07] - Crash dumper
¤ Db_autobackups.dll v.0.1.0.7 [12 Jan 2023 19:24:54] - Db autobackuper
¤ DbChecker.dll v.0.95.13.3 [12 Jan 2023 19:27:34] - Database checker
¤ Dbx_sqlite.dll v.0.96.2.2 [12 Jan 2023 19:27:30] - Miranda NG SQLite database driver
¤ Dummy.dll v.0.2.0.1 [12 Jan 2023 19:26:58] - Dummy protocol
¤ Facebook.dll v.0.1.0.11 [5 Jan 2023 17:17:00] - Facebook
¤ GG.dll v.0.95.11.1 [5 Jan 2023 17:14:20] - Gadu-Gadu protocol
¤ historypp.dll v.1.5.1.5 [12 Jan 2023 19:32:52] - History++
¤ ICQ.dll v.0.96.2.3 [5 Jan 2023 17:17:02] - ICQ-WIM protocol
¤ IEView.dll v.1.6.0.5 [5 Jan 2023 17:14:25] - IEView
¤ Import.dll v.0.95.11.1 [12 Jan 2023 19:25:02] - Import contacts and messages
¤ IRC.dll v.0.96.1.4 [5 Jan 2023 17:14:08] - IRC protocol
¤ Jabber.dll v.0.95.11.1 [12 Jan 2023 19:25:14] - Jabber protocol
¤ NewEventNotify.dll v.0.2.2.6 [12 Jan 2023 19:25:32] - NewEventNotify
¤ NewXstatusNotify.dll v.1.4.0.12 [7 Jan 2023 13:03:42] - xStatus notify
¤ PluginUpdater.dll v.0.2.1.4 [5 Jan 2023 17:15:22] - Plugin updater
¤ PopupPlus.dll v.2.1.2.0 [5 Jan 2023 17:14:46] - Popup plus
¤ SimpleStatusMsg.dll v.1.9.0.9 [12 Jan 2023 19:25:16] - Simple status message
¤ SmileyAdd.dll v.0.3.2.2 [12 Jan 2023 19:25:08] - SmileyAdd
¤ StatusManager.dll v.1.2.0.6 [5 Jan 2023 17:16:45] - Status manager
¤ TabSRMM.dll v.3.6.2.6 [12 Jan 2023 19:24:36] - TabSRMM
¤ Telegram.dll v.0.11.0.1 [12 Jan 2023 19:32:20] - Telegram protocol
¤ Tipper.dll v.2.1.0.7 [5 Jan 2023 17:14:33] - Tipper
¤ TopToolBar.dll v.0.8.0.5 [5 Jan 2023 17:14:47] - TopToolBar
¤ VoiceService.dll v.0.1.3.1 [12 Jan 2023 19:27:38] - Voice Service
¤ WhatsApp.dll v.0.0.1.1 [5 Jan 2023 17:20:45] - WhatsApp protocol
¤ WinterSpeak.dll v.0.9.8.3 [5 Jan 2023 17:16:07] - WinterSpeak
¤ YAMN.dll v.0.1.2.7 [7 Jan 2023 17:37:28] - Mail Notifier

Protocols and Accounts:
-------------------------------------------------------------------------------
Facebook                 1 - Enabled 0 - Disabled  Loaded
GG                       1 - Enabled 0 - Disabled  Loaded
JABBER                   1 - Enabled 0 - Disabled  Loaded
Telegram                 1 - Enabled 0 - Disabled  Loaded
WhatsApp                 1 - Enabled 0 - Disabled  Loaded

Icon Packs:
-------------------------------------------------------------------------------
 Fp_icons.dll [16 Aug 2020 16:07:02]
 GG.dll [16 Aug 2020 16:07:02]
 HistoryPP_icons.dll [12 Jan 2023 19:32:38]
 Proto_AIM.dll [16 Aug 2020 16:07:02]
 Proto_Discord.dll [10 Jan 2022 11:32:06]
 Proto_Dummy.dll [12 Jan 2023 19:32:42]
 Proto_Facebook.dll [5 Jan 2023 17:20:53]
 Proto_GG.dll [5 Jan 2023 17:20:50]
 Proto_ICQ.dll [5 Jan 2023 17:20:53]
 Proto_IRC.dll [5 Jan 2023 17:20:50]
 Proto_Jabber.dll [12 Jan 2023 19:32:38]
 Proto_MetaContacts.dll [12 Jan 2023 19:32:42]
 Proto_MRA.dll [5 Jan 2023 17:20:53]
 Proto_MSN.dll [16 Aug 2020 16:07:02]
 Proto_NewsAggregator.dll [16 Aug 2020 16:07:02]
 Proto_Skype.dll [16 Aug 2020 16:07:02]
 Proto_Telegram.dll [12 Jan 2023 19:32:42]
 Proto_Yahoo.dll [16 Aug 2020 16:07:02]
 Proto_YAMN.dll [7 Jan 2023 17:43:22]
 TabSRMM_icons.dll [12 Jan 2023 19:32:38]
 Toolbar_icons.dll [5 Jan 2023 17:20:50]
 xStatus_Jabber.dll [12 Jan 2023 19:32:38]
[close]
 

Offline ghazan

Re: Telegram protocol
« Reply #19 on: 14 01 2023, 09:13:48 »
Whenever I send the message to someone the messages are displayed as being send by my participant not as mine, like this.
do you send messages from Miranda or from another device/client?

another question: do you use IEView as a message log viewer? or the built-in one?
« Last Edit: 14 01 2023, 09:32:34 by ghazan »
 

Offline marson

Re: Telegram protocol
« Reply #20 on: 14 01 2023, 09:46:46 »
Code: [Select]
do you send messages from Miranda or from another device/client?
It doesn't matter if I send the miiranda message from miranda or natice telegram itself, the messages always appear as being send by my participant not mine.

Yes - I use IEView as message log
 
The following users thanked this post: ghazan

Offline ghazan

Re: Telegram protocol
« Reply #21 on: 14 01 2023, 09:56:02 »
marson,
Yes - I use IEView as message log
As for me, IEView without skin works ok. Which skin do you use? Could you attach it here?
 

Offline Vulpix

Re: Telegram protocol
« Reply #22 on: 14 01 2023, 10:01:09 »
I use ieview and I had this exact issue (all chat showing as if I had sent it) some time ago when Telegram became supported for the first time. But it doesn't happen on the version you're using anymore (I am on the same version as you right now).
 

Offline dartraiden

Re: Telegram protocol
« Reply #23 on: 14 01 2023, 12:10:30 »
Cannot reproduce with current dev version + IEView + Facebook IEView template.
History++ and tabSRMM internal log also fine.
 

Offline marson

Re: Telegram protocol
« Reply #24 on: 14 01 2023, 12:31:05 »
Code: [Select]
As for me, IEView without skin works ok. Which skin do you use? Could you attach it here?
Yes - sure - my IeView skin is called GoneDark, here is the link to it: https://xxh.pl/GoneDark.zip

Can you post the link to the Ieview template you use, I will try it and see if this is related to template I use.
« Last Edit: 14 01 2023, 12:32:38 by marson »
 

Offline dartraiden

Re: Telegram protocol
« Reply #25 on: 14 01 2023, 19:51:26 »
 

Offline dartraiden

Re: Telegram protocol
« Reply #26 on: 14 01 2023, 19:56:37 »
 

Offline marson

Re: Telegram protocol
« Reply #27 on: 14 01 2023, 20:51:15 »
Strange so I have no idea what could be the problem.

I checked History++ plugin and it also have all messages written as my participant, I have no idea what can I do, it is strange that problem occurs only on telegram, other protocols works OK.
 

Offline dartraiden

Re: Telegram protocol
« Reply #28 on: 30 01 2023, 16:55:33 »
marson, try to add phone number without "+"

Technically, inside the protocol, messages are sent from a "number without a plus sign". Example:

- Miranda sees the phone number +79056051234 in the settings
- in reality, inside the protocol, the plus sign is discarded and the message is sent from 79056051234
- Miranda thinks "hmm, +79056051234 and 79056051234  are different numbers => this is not user phone number, so I will show this message as a message from contact"

« Last Edit: 30 01 2023, 17:05:05 by dartraiden »