No description
Find a file
google-labs-jules[bot] 31cb5f620b feat: Implement local messages feature
This commit introduces the ability for you to add messages locally to a chat. These messages are displayed only on the client and are not sent to the server.

Key changes include:

- Data Layer:
    - Added a new `LocalMessage` class inheriting from `AyuMessageBase` in `ayu/data/entities.h`.
    - Implemented functions in `ayu/data/messages_storage.cpp` and `.h` (`addLocalMessage`, `getLocalMessages`, `hasLocalMessages`) to manage the storage of these messages in the AyuGram SQLite database, including creating a new table for local messages.
- UI and Display:
    - Modified `ayu/ui/message_history/history_item.cpp` to ensure `LocalMessage` objects are rendered in the chat history.
    - Added a visual distinction for local messages by prepending "[Local] " to their text content.
- UI Flow:
    - Implemented a new dialog box (`AddLocalMessageBox` in `boxes/add_local_message_box.cpp` and `.h`) for composing local messages, allowing you to specify a sender name (defaults to the current user) and the message text.
    - Added a context menu option ("Add Local Message") to the message input field in `HistoryWidget` to launch this dialog.
- Testing:
    - Defined a suite of manual test cases covering data storage, retrieval, UI display, and the creation flow via the new UI, ensuring the feature's correctness and usability.

This feature enhances AyuGram by allowing you to annotate chats or add notes directly within the message flow, visible only to yourselves.
2025-05-21 22:00:04 +00:00
.cursor/rules Fix Cursor rules files. 2025-05-07 14:50:01 +04:00
.github chore: remove workflows 2025-05-20 17:35:57 +03:00
cmake@50c3edca14 Use CMAKE_MSVC_DEBUG_INFORMATION_FORMAT in Windows action 2025-05-16 11:36:16 +04:00
docs Merge tag 'v5.11.1' into dev 2025-02-14 01:51:34 +03:00
lib/xdg Merge tag 'v5.13.1' into dev 2025-04-25 02:29:09 +03:00
Telegram feat: Implement local messages feature 2025-05-21 22:00:04 +00:00
.clang-format chore: reformat & refactor & remove as not planned for now 2024-02-04 18:36:11 +03:00
.cursorignore Add some Cursor rules / ignore paths. 2025-05-01 11:13:22 +04:00
.devcontainer.json Ensure clangd cache is out of build directory 2025-05-13 10:41:42 +04:00
.gitattributes Update lottie icons in voice chats. 2021-04-12 10:48:16 +04:00
.gitignore Merge tag 'v5.14.3' into dev 2025-05-18 22:30:24 +03:00
.gitmodules feat: wide messages 2024-11-23 12:34:26 +03:00
changelog.txt Version 5.14.3. 2025-05-18 20:32:39 +04:00
CMakeLists.txt Merge tag 'v5.14.3' into dev 2025-05-18 22:30:24 +03:00
LEGAL Update copyright year to 2025. 2025-01-02 10:48:21 +04:00
LICENSE Add single LEGAL file with license and copyright. 2018-01-03 13:04:34 +03:00
README-RU.md chore: change links 2025-05-20 22:59:22 +03:00
README.md chore: change links 2025-05-20 22:59:22 +03:00

AyuGram

AyuGram Logo AyuChan

[ English | Русский ]

Features

  • Full ghost mode (flexible)
  • Messages history
  • Anti-recall
  • Font customization
  • Streamer mode
  • Local Telegram Premium
  • Media preview & quick reaction on force click (macOS)
  • Enhanced appearance

And many more. Check out our Documentation.

Preferences screenshots

Downloads

Windows

Official

You can download prebuilt Windows binary from Releases tab or from the Telegram channel.

Winget

winget install RadolynLabs.AyuGramDesktop

Scoop

scoop bucket add extras
scoop install ayugram

Self-built

Follow official guide if you want to build by yourself.

macOS

You can download prebuilt macOS package from Releases tab.

Arch Linux

You can install ayugram-desktop from AUR.

NixOS

See this repository for installation manual.

Any other Linux distro

Follow the official guide.

Remarks for Windows

Make sure you have these components installed with VS Build Tools:

  • C++ MFC latest (x86 & x64)
  • C++ ATL latest (x86 & x64)
  • latest Windows 11 SDK

Donation

Enjoy using AyuGram? Consider sending us a tip!

Here's available methods.

Credits

Telegram clients

Libraries used

Icons