Telegram Desktop messaging app

Overview

Telegram Desktop – Official Messenger

This is the complete source code and the build instructions for the alpha version of the official desktop client for the Telegram messenger, based on the Telegram API and the MTProto secure protocol.

Version Build Status Build Status Build Status

Preview of Telegram Desktop

The source code is published under GPLv3 with OpenSSL exception, the license is available here.

Supported systems

The latest version is available for

Old system versions

Version 2.4.4 was the last that supports older systems

Version 1.8.15 was the last that supports older systems

Third-party

Build instructions

Issues
  • aarch64 and armhf version of telegram-desktop crash on attempt to render animated sticker

    aarch64 and armhf version of telegram-desktop crash on attempt to render animated sticker

    Steps to reproduce

    1. Install aarch64 version ob Ubuntu 19.10 (on devboard, laptop or qemu virtual machine)
    2. Install telegram-desktop from system repository
    3. Try to send any animated sticker

    Expected behaviour

    Telegram doesn't crash on attempt to render sticker animation

    Actual behaviour

    Telegram crash on attempt to render sticker animation

    Configuration

    Operating system: Ubuntu 19.10 Version of Telegram Desktop: 1.8.8 Used theme: dark theme

    gdb.log

    bug 
    opened by RussianNeuroMancer 150
  • Telegram causes music in rhythmbox (gstreamer applications) to play faster!?

    Telegram causes music in rhythmbox (gstreamer applications) to play faster!?

    When I startup telegram, the music in my applications play around 1.5 times the usual speed. I have not yet any kind of hint what causes the bug to appear, I just know that it always happens when starting Telegram.

    Hardware used: Intel NUC (i5 and Intel Audio dedicated hardware, no additions). OS used: UbuntuGNOME 15.10

    Does anybody have an idea how to debug such a thing? Is it most likely pulseaudio-related?

    bug linux stale 
    opened by cookiengineer 137
  • Better install path for Windows

    Better install path for Windows

    With current version (0.10.1) the install version try to install Telegram to this path: C:\Users%username%\AppData\Roaming\Telegram Desktop But of security reasons the official windows program paths are more secure. So please move to C:\Program Files (x86) or for 64Bit version to C:\Program Files

    I'm sure using \AppData\Roaming is because the updater works without UAC requests, etc but this is a bad workaround.

    Tested under Win 7 Home & Pro SP1 x64

    enhancement windows 
    opened by beerisgood 123
  • Telegram-desktop Snap package won't run

    Telegram-desktop Snap package won't run

    Steps to reproduce

    1. Install latest stable/edge package from snap
    2. run telegram using command telegram-desktop

    Expected behaviour

    Telegram must run

    Actual behaviour

    it outputs the next line and exits: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

    Configuration

    Operating system: Raspbian Buster on raspberry pi 3b ( 32bit os fork of debian ARMHF)

    Version of Telegram Desktop: 1.9.9 and 1.9.19 snap packages

    Logs:

    [2020.03.04 00:13:36] Launched version: 1009009, install beta: [FALSE], alpha: 0, debug mode: [FALSE], test dc: [FALSE] [2020.03.04 00:13:36] Executable dir: /snap/telegram-desktop/1041/bin/, name: telegram-desktop [2020.03.04 00:13:36] Initial working dir: /home/pi/ [2020.03.04 00:13:36] Working dir: /home/pi/snap/telegram-desktop/1041/.local/share/TelegramDesktop/ [2020.03.04 00:13:36] Command line: telegram-desktop [2020.03.04 00:13:36] Executable path before check: /snap/telegram-desktop/1041/bin/telegram-desktop [2020.03.04 00:13:36] Logs started [2020.03.04 00:13:38] Connecting local socket to /run/user/1000/snap.telegram-desktop/af7321eb1e0d0276c1a531cd3bb10672... [2020.03.04 00:13:38] This is the only instance of Telegram, starting server and app... [2020.03.04 00:13:38] Failed to start listening to /run/user/1000/snap.telegram-desktop/af7321eb1e0d0276c1a531cd3bb10672 server, error -1

    edit1 : added log file(this is for stable.same thing happens with edge)

    opened by TheHolyLoli 117
  • Option to disable mobile sound/vibration notifications when using Desktop

    Option to disable mobile sound/vibration notifications when using Desktop

    Hi, when using Telegram Desktop is it possible to silence out the notifications on the phone? There are no notifications on the phone, actually they are dismissed successfully, but for every received message I hear the sound/vibration (sometimes it is cut out in the half, as it has been "cancelled").

    enhancement api issue 
    opened by virtualdj 117
  • High CPU load

    High CPU load

    Steps to reproduce

    1. Simply start Telegram
    2. Let it run for a while (could be hours or even days)
    3. At some point it will start consuming lots of CPU

    Expected behaviour

    It shouldn't spend all that CPU load

    Actual behaviour

    It just consumes CPU time till the program is restarted

    Configuration

    Operating system: Fedora Linux 25 on one i7 laptop and one i5 desktop. Same thing on an Ubuntu 16.04 laptop.

    Version of Telegram Desktop: 1.1.11 (previous versions too. IIRC 1.0 was ok) Used theme: Any theme

    Logs: Insert logs here (if necessary)

    running: top -H -p will return: top - 19:57:37 up 4 days, 21:42, 1 user, load average: 0.83, 1.34, 1.37 Threads: 20 total, 1 running, 19 sleeping, 0 stopped, 0 zombie %Cpu(s): 9.3 us, 0.7 sy, 0.0 ni, 89.0 id, 0.1 wa, 0.5 hi, 0.3 si, 0.0 st KiB Mem : 16291228 total, 3390260 free, 5596580 used, 7304388 buff/cache KiB Swap: 8191996 total, 8191996 free, 0 used. 8155060 avail Mem

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    5470 smee 20 0 2686276 653620 100172 S 10.3 4.0 8:19.68 QThread
    13349 smee 20 0 2686276 653620 100172 S 9.0 4.0 7:38.81 QThread
    13346 smee 20 0 2686276 653620 100172 S 7.7 4.0 6:25.81 QThread
    5471 smee 20 0 2686276 653620 100172 S 6.7 4.0 5:41.01 QThread
    5482 smee 20 0 2686276 653620 100172 S 6.0 4.0 5:39.49 QThread
    13348 smee 20 0 2686276 653620 100172 S 4.7 4.0 3:56.05 QThread
    4829 smee 20 0 2686276 653620 100172 R 4.0 4.0 4:22.86 QThread
    13347 smee 20 0 2686276 653620 100172 S 3.7 4.0 3:12.62 QThread
    27411 smee 20 0 2686276 653620 100172 S 1.7 4.0 22:55.85 Telegram
    27412 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:33.49 QXcbEventReader
    27413 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:06.78 QDBusConnection
    27415 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:13.68 Qt bearer threa
    27416 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:00.00 gmain
    27417 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:00.08 gdbus
    27432 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:00.20 QThread
    27433 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:01.95 QThread
    27434 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:00.00 QThread
    27436 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:06.02 MTP::internal::
    4205 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:00.00 Qt HTTP thread
    27321 smee 20 0 2686276 653620 100172 S 0.0 4.0 0:00.00 Qt HTTP thread

    bug 
    opened by kmare 116
  • [Feature request] Multiple accounts support

    [Feature request] Multiple accounts support

    Steps to reproduce

    Nothing.

    Expected behaviour

    There is menu to login into (three?) different accounts just like in Telegram v4.7 for Android, so I don't have to open multiple Telegram Desktop windows and messing with launcher script or config directory, etc.

    Actual behaviour

    I can now login into multiple accounts by issuing -workdir or -many -workdir, but this is an inconvenient process because I have to open multiple Telegram Desktop windows and provide many config directories.

    Configuration

    Operating system: Debian Sid 64 bit Version of Telegram Desktop: 1.2.6 alpha Used theme: Default

    Logs: Insert logs here (if necessary)
    enhancement 
    opened by rizaumami 111
  • Context / Right-Click Menu Opens in Wrong Display / dual gfx / amd

    Context / Right-Click Menu Opens in Wrong Display / dual gfx / amd

    I usually keep my Telegram Desktop window on my secondary monitor (I've got 3). Sometime along the 1.9.x versions the context menu started appearing on the primary display only.

    If i move the app on the primary display, right-click menu works as expected. When it goes back in its normal position on the 2nd monitor then context menu appears on primary display (the x,y coordinates change depending on where the right-click was - just on the wrong monitor!)

    waiting for answer 3rd party issue 
    opened by antoniscy 109
  • Arabic font style isn't good in Ubuntu 18.10 development branch

    Arabic font style isn't good in Ubuntu 18.10 development branch

    English font style is good but Arabic font style isn't good it's some how bold which I don't like tried to install GNOME tweaks to change the font but I couldn't succeed

    this is the desired Arabic font style which was present in Ubuntu 18.04.1 on telegram

    image

    but this is the Arabic font style in Telegram which I don't like

    image

    Operating system:

    Ubuntu Cosmic Cuttlefish (development branch) using GNOME shell v3.30 as desktop environment

    telegram v1.3.14 installed from a tar.xz from your official website ( to get updates quickly ) https://desktop.telegram.org/

    please make sure that this issue will be avoided in the official final release of Ubuntu 18.10

    bug 
    opened by YousefSaber 109
  • Option for message formatting (-- to ‏‎−, >> to », << to «)

    Option for message formatting (-- to ‏‎−, >> to », << to «)

    Hi. I want to report a bug in the telegram desktop version. (Linux) The problem of the character: Dash. Or (-) When two characters Dash, taken together, the result rather than the (--) becomes a long line. (‏‎−) But when the two characters together Dash, the text first, this problem does not exist. For example: http://s4.picofile.com/file/8173777318/snapshot.png

    enhancement 
    opened by ghost 108
  • Persian font

    Persian font

    Hi, I installed version 2.1.3. The fonts are cluttered and irritate the eyes https://imgur.com/hf0M8rr Please return the font to version 2.1. You can't read the text well now

    waiting for answer 
    opened by hamidna 100
  • Build fails in armv7 and aarch64

    Build fails in armv7 and aarch64

    Steps to reproduce

    1. Try to build tdesktop in armv7 or aarch64

    Expected behaviour

    tdesktop should build succesfully

    Actual behaviour

    tdesktop fails to build in both armv7 and aarch64 because of an assumption that char is signed:

    /builds/Nulo/aports/community/telegram-desktop/src/tdesktop-4.0.0-full/Telegram/SourceFiles/data/data_types.h:152:31: error: enumerator value '-2' is outside the range of underlying type 'char'
      152 |         FileDownloadFailed = -2,
          |                               ^
    /builds/Nulo/aports/community/telegram-desktop/src/tdesktop-4.0.0-full/Telegram/SourceFiles/data/data_types.h:153:29: error: enumerator value '-1' is outside the range of underlying type 'char'
      153 |         FileUploadFailed = -1,
          |                             ^
    

    Operating system

    Alpine Linux edge

    Version of Telegram Desktop

    4.0.0

    Installation source

    Other (unofficial) source

    Logs

    No response

    bug 
    opened by catdevnull 0
  • Full desktop sharing doesn't work in Wayland

    Full desktop sharing doesn't work in Wayland

    Steps to reproduce

    Have Wayland session. Try to share full desktop in a call.

    Expected behaviour

    Desktop should be viewed normally.

    Actual behaviour

    It display a black screen with the moving cursor only.

    Operating system

    Ubuntu 22.04

    Version of Telegram Desktop

    4.0.0

    Installation source

    Snap

    Logs

    No response

    bug waiting for answer 
    opened by ibahnasy 1
  • 4.0.0 desktop client has missing 'Chat history for new members' in group settings

    4.0.0 desktop client has missing 'Chat history for new members' in group settings

    Steps to reproduce

    1. Create new group
    2. Go to its settings
    3. "Chat history for new members" button is missing

    Expected behaviour

    Chat history for new members option should be there

    image

    Actual behaviour

    No chat history for new members if group type is set to private, it appears if setting group to public.

    This was not the case in 3.7.3. Android 8.8.2 still correctly shows the option.

    image

    Operating system

    Arch Linux

    Version of Telegram Desktop

    4.0.0

    Installation source

    Other (unofficial) source

    Logs

    No response

    bug 
    opened by C0rn3j 0
  • My Voice Sounds Like Robotic/Distorted/Deep on Voice Messages and Voice Chats

    My Voice Sounds Like Robotic/Distorted/Deep on Voice Messages and Voice Chats

    Steps to reproduce

    Open any chat start to record voice or join a voice/video conversation

    Expected behaviour

    Recorded voice shouldn't be robotic/fake, it should be natural as it's possible.

    Actual behaviour

    My voice sounds like robotic/fake(exactly sounds like a hacker voice in a movie who try to hide it's voice)

    Operating system

    Windows 10, 1703, Windows

    Version of Telegram Desktop

    4.0 (x64)

    Installation source

    Static binary from official website

    Logs

    No response

    Additional Information:

    • I'm using a Lenovo g50 machine.
    • Driver is Conexant Smart Audio HD
    • I tried to reinstall telegram many times
    • I tried to update my audio drive
    • Voice recording or voice calls are just fine with windows recorder, audacity, skype and microsoft teams

    This issue is similar to the #1233 btw but I'am using way newer version and have the same problem.

    bug 
    opened by eddysnjack 1
  • Premium app icon

    Premium app icon

    Is your feature request related to a problem?

    Is it possible to add an icon changer to Premium icons in the Windows client?

    Describe the solution you'd like

    Item to change the icon as in mobile app

    Describe alternatives you've considered

    Maybe somewhere i can find at least ico files of premium icons?

    Additional context

    No response

    enhancement 
    opened by Mystic8b 2
  • [missing] premium icon not displayed in contacts list

    [missing] premium icon not displayed in contacts list

    Steps to reproduce

    1. open contacts list
    2. locate a premium user among your contacts (or add a premium user as contact first)

    Expected behaviour

    The premium icon is displayed next to their name (like on Android)

    Actual behaviour

    no icon is displayed

    Operating system

    Windows 10

    Version of Telegram Desktop

    4.0

    Installation source

    Static binary from official website

    Logs

    No response

    bug 
    opened by RememberTheAir 0
Releases(v4.0.0)
A Flutter package that makes it easy to customize and work with your Flutter desktop app's system tray.

system_tray A Flutter package that that enables support for system tray menu for desktop flutter apps. on Windows, macOS and Linux. Features: - Modify

AnTler 103 Jun 24, 2022
ContactGot is an offline desktop app, where clients can leave their info, while an administrator can manage which information they need to gather on certain projects.

ContactGot Contents Description How to use Requirements Engineering Installation Documentation Design Architecture Demonstration 1. Description During

Elizaveta 16 Dec 17, 2021
If the button pressed esp will reset and App mode will on. App mode will on then led will on, network is connected led will off.

DHT22-to-Google-sheet-Reset-Using-ESP8266-LED-Switch If button pressed esp will reset and App mode will on. App mode will on then led will on, network

Md. Harun-Or-Rashid 4 Oct 5, 2021
Flutter-Clock-and-Reminder-App - a highly functional clock and reminder app developed on flutter framework.

clock_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if thi

Umar Baloch 5 Dec 27, 2021
null 235 Jun 22, 2022
Flutter-v2 Firebase Messaging, Foreground and Background Notifications + Topic Subscription and Broadcast Notifications Source code

Flutter Notification & FCM The repo is about flutter notification and FCM (Firebase Cloud Messaging). It is updated with Flutter v2 and new updates of

Amanullah 31 Jun 22, 2022
Send messages to a LED Matrix display through Telegram. Inspired by a tweet from Smarter Every Day

Send messages to a LED Matrix display through Telegram. Inspired by a tweet from Smarter Every Day

Brian Lough 22 Jun 13, 2022
Stock market Telegram bot

Stonky Telegram Bot README Stonky is a Telegram bot that provides access to financial informations. It is backed by the publicly available Yahoo Finan

Salvatore Sanfilippo 204 Jun 9, 2022
Experimental telegram client based on official Android sources

Catogram Experimental telegram client based on official Android sources Catogram features: Message translator TGX Style of context menu VKUI Icons and

null 181 Jun 19, 2022
🍌 C++ Telegram Bot API library

?? banana - thin wrapper over Telegram Bot API written in C++17. Key Features Simple API Single interface for both blocking, non-blocking and even cor

Alexander 29 Mar 5, 2022
Telegram messenger for Android

Telegram is a messaging app with a focus on speed and security. It’s superfast, simple and free. This repo contains the official source code for Telegram App for Android.

Dao Hong Vinh 10 Oct 31, 2021
Custom kernel for sweet based on Delta, builds hosted on @sweet_epsilon on Telegram (GH releases are outdated)

Linux kernel ============ This file was moved to Documentation/admin-guide/README.rst Please notice that there are several guides for kernel develop

Udit Karode 14 Mar 29, 2022
WIP / DIN-rail compatible WiFi security camera with additional features (doorbell detection, magnetic / reed switch door & PIR sensor...) that sends you alerts on Telegram if someone unauthorised breaks into your house.

WIP / DIN-rail compatible WiFi security camera with additional features (doorbell detection, magnetic / reed switch door & PIR sensor...) that sends you alerts on Telegram if someone unauthorised breaks into your house.

François Leparoux 2 Dec 18, 2021
An unofficial Qt-based client for Telegram messenger.

Kutegram Supported platforms Windows XP and higher (maybe even lower?) Linux Symbian 9.2-9.4 Symbian^3 Maemo 5 Fremantle MeeGo Harmattan Current featu

Kutegram 5 Jun 14, 2022
A beginner friendly desktop UI for Tasmota flashed devices for Windows, macOS and Linux.

TasmoManager A beginner friendly desktop UI for Tasmota flashed devices for Windows, macOS and Linux. Features Native Tasmota device discovery (via ta

Tom Butcher 44 Jun 30, 2022
Add virtual monitors to your windows 10 device! Works with Oculus software, obs, and any desktop sharing software

License MIT and CC0 or Public Domain, whichever is least restrictive -- Use it AS IS - NO IMPLICIT OR EXPLICIT warranty This may break your computer,

Rashi Abramson 162 Jun 21, 2022
This plugin allows Flutter desktop apps to defines system tray.

tray_manager This plugin allows Flutter desktop apps to defines system tray. tray_manager Platform Support Quick Start Installation ⚠️ Linux requireme

LeanFlutter 76 Jun 20, 2022
ESP32 based Desktop Clock

ESP32_Desktop_Clock ESP32 based Desktop Clock This ESP32 internet of things desktop clock is a project created for my home. School has started and fal

Mike Rankin 66 May 1, 2022
A backend implementation for xdg-desktop-portal

xdg-desktop-portal-lxqt A backend implementation for xdg-desktop-portal that is using Qt/KF5. Building xdg-desktop-portal-lxqt Dependencies: xdg-deskt

LXQt 7 Apr 19, 2022