About two years ago, the first JavaScript contest held by Telegram just ended. It was a thrilling challenge but that time I only managed to take the second prize. However, that was the starting point for a chain of events which led to the WebZ app becoming one of the official Telegram web clients.
Another longest and spectacular JavaScript contest was there to follow, and I want to share its story. I'm going to talk about the technologies we used, the problems we faced, and the solutions we were lucky to find. Moreover, because this story is still being written.
No doubt, the new Telegram web clients are among the most sophisticated and technologically advanced web projects out there. They combine most of modern Web APIs, specifications, and techniques: complicated CSS and Canvas animations, Web Workers and WebAssembly, multi-level caching and PWA, voice recording and media streaming, cryptography and raw binary data operations, optimistic and progressive interfaces, reactive data streams, and so much more.
I'll talk a little bit about it all and will provide links to the code examples in the telegram-webz repository as well as to some other useful external resources.
Stay tuned.
Another longest and spectacular JavaScript contest was there to follow, and I want to share its story. I'm going to talk about the technologies we used, the problems we faced, and the solutions we were lucky to find. Moreover, because this story is still being written.
No doubt, the new Telegram web clients are among the most sophisticated and technologically advanced web projects out there. They combine most of modern Web APIs, specifications, and techniques: complicated CSS and Canvas animations, Web Workers and WebAssembly, multi-level caching and PWA, voice recording and media streaming, cryptography and raw binary data operations, optimistic and progressive interfaces, reactive data streams, and so much more.
I'll talk a little bit about it all and will provide links to the code examples in the telegram-webz repository as well as to some other useful external resources.
Stay tuned.
๐16๐3โค2๐1
Telegram Web Z was updated to version 1.30
๐ Harder
โข Meet Message Reactions:
- React to a message with โค๏ธ๐ฅ๐๐๐ฑ๐คฉ๐ข๐๐ฉ๐คฎ in the context menu.
- Send a quick ๐ reaction by hovering over the bottom corner of a message.
- You can change your default reaction to another emoji in Settings > General.
- Group and Channel admins can enable and control reactions via their chat's Info Page > Edit > Reactions.
โข Interactive Emoji:
- Added support for all interactive emoji, including fullscreen animations and sound effects. Try ๐ฅ, ๐, ๐ and more.
- Animations play simultaneously when both users have the chat open.
โ The โis watchingโฆโ status will appear when your chat partner is also seeing the animations.
โข Manage invite links for Groups and Channels:
โ Enable admin approval or limited duration and users.
๐คฉ Better
โข Better quality for uploaded profile pictures.
โข Various UI improvements.
๐ Faster
โข Several optimizations for older devices โ no more freezing while typing.
๐ช Stronger
โข Saved Messages now correctly renders in search results.
โข Fixed missing icons for muted chats in the chat list.
โข The context menu no longer flickers on older devices.
โข Fix re-scheduling messages to a previous date.
๐ Harder
โข Meet Message Reactions:
- React to a message with โค๏ธ๐ฅ๐๐๐ฑ๐คฉ๐ข๐๐ฉ๐คฎ in the context menu.
- Send a quick ๐ reaction by hovering over the bottom corner of a message.
- You can change your default reaction to another emoji in Settings > General.
- Group and Channel admins can enable and control reactions via their chat's Info Page > Edit > Reactions.
โข Interactive Emoji:
- Added support for all interactive emoji, including fullscreen animations and sound effects. Try ๐ฅ, ๐, ๐ and more.
- Animations play simultaneously when both users have the chat open.
โ The โis watchingโฆโ status will appear when your chat partner is also seeing the animations.
โข Manage invite links for Groups and Channels:
โ Enable admin approval or limited duration and users.
๐คฉ Better
โข Better quality for uploaded profile pictures.
โข Various UI improvements.
๐ Faster
โข Several optimizations for older devices โ no more freezing while typing.
๐ช Stronger
โข Saved Messages now correctly renders in search results.
โข Fixed missing icons for muted chats in the chat list.
โข The context menu no longer flickers on older devices.
โข Fix re-scheduling messages to a previous date.
Telegram
Telegram Tips
Interactive Emoji. Send and tap a single
๐๐๐๐๐โค๏ธ๐๐ญ๐คฉ
๐๐ข๐ฅ๐ฑ๐คฎ๐ฉโ๏ธ๐ป๐๐ธ
in any private chat to unleash a fullscreen effect.
When both users have the chat open, the animations and vibrations play simultaneously on their devices. You can tell that your friend alsoโฆ
๐๐๐๐๐โค๏ธ๐๐ญ๐คฉ
๐๐ข๐ฅ๐ฑ๐คฎ๐ฉโ๏ธ๐ป๐๐ธ
in any private chat to unleash a fullscreen effect.
When both users have the chat open, the animations and vibrations play simultaneously on their devices. You can tell that your friend alsoโฆ
๐14๐3โค2๐1
Telegram Web Z was updated to version v1.31
๐ Harder
โข Hide text with an animation using the crossed-eye icon ๐ in the formatting menu.
โข Quickly add Spoiler formatting with Ctrl + P (โ + P on macOS), or || markdown around the text.
โข Admins can manage Join Requests and revoked invites.
โข Promote new admins in your groups and channels via Global Search.
๐คฉ Better
โข Network stability enhancements.
โข Various improvements and tuning for reactions and interactive emoji.
โข Media Viewer improved for mobile devices.
โข Numerous layout adjustments.
๐ Faster
โข The app better renders multiple components.
๐ช Stronger
โข Fixed inline playback for QuickTime videos.
โข Fixes for tooltips โ including stickers, emoji, and mentions.
โข Unread counter now correctly reflects values on mobile devices.
โข Emoji now properly copy from message text.
โข Usersโ display names now appear in service messages.
โข Fixed collapsing multiple spaces in messages.
โข Reactions and the โSend Asโ feature are now always available in Discussion Groups.
๐ Harder
โข Hide text with an animation using the crossed-eye icon ๐ in the formatting menu.
โข Quickly add Spoiler formatting with Ctrl + P (โ + P on macOS), or || markdown around the text.
โข Admins can manage Join Requests and revoked invites.
โข Promote new admins in your groups and channels via Global Search.
๐คฉ Better
โข Network stability enhancements.
โข Various improvements and tuning for reactions and interactive emoji.
โข Media Viewer improved for mobile devices.
โข Numerous layout adjustments.
๐ Faster
โข The app better renders multiple components.
๐ช Stronger
โข Fixed inline playback for QuickTime videos.
โข Fixes for tooltips โ including stickers, emoji, and mentions.
โข Unread counter now correctly reflects values on mobile devices.
โข Emoji now properly copy from message text.
โข Usersโ display names now appear in service messages.
โข Fixed collapsing multiple spaces in messages.
โข Reactions and the โSend Asโ feature are now always available in Discussion Groups.
๐5
Telegram Web Z was updated to version v1.32
Harder
โข Create and share Video Stickers made from .webm files.
โข 5 new reactions and interactive emoji: ๐ฅฐ๐คฏ๐ค๐คฌ๐
โข Send entire folders as a file.
โข Directly add chats to chat folders from Global Search.
Better
โข Redesigned group management pages with animated artwork.
โข โForward Toโ menu has smooth infinite scroll on mobile.
โข Spoiler animations re-hide text after a short period.
โข Numerous layout fixes and improvements.
Faster
โข Media loads and scrolls faster in Shared Media and Global Search.
โข Optimized some heavy background calculations.
โข Memory usage optimizations.
Stronger
โข Fixed missing sticker suggestions (e.g. for โค๏ธ emoji).
โข Fixed infinite spinning in Sticker panel.
โข Fixed scroll jumps and missing sender names in local search results.
โข Fixed highlight color when searching in dark mode.
โข Fixed pasting text and media from clipboard on Firefox and iOS browsers.
โข Media Viewer: Fixed navigating to the origin message on mobile.
โข Media Viewer: Fixed lingering audio after moving to the next item.
โข Reactions: Fixed unexpected interaction animations.
โข Fixed jumping cursor when typing in Safari.
Harder
โข Create and share Video Stickers made from .webm files.
โข 5 new reactions and interactive emoji: ๐ฅฐ๐คฏ๐ค๐คฌ๐
โข Send entire folders as a file.
โข Directly add chats to chat folders from Global Search.
Better
โข Redesigned group management pages with animated artwork.
โข โForward Toโ menu has smooth infinite scroll on mobile.
โข Spoiler animations re-hide text after a short period.
โข Numerous layout fixes and improvements.
Faster
โข Media loads and scrolls faster in Shared Media and Global Search.
โข Optimized some heavy background calculations.
โข Memory usage optimizations.
Stronger
โข Fixed missing sticker suggestions (e.g. for โค๏ธ emoji).
โข Fixed infinite spinning in Sticker panel.
โข Fixed scroll jumps and missing sender names in local search results.
โข Fixed highlight color when searching in dark mode.
โข Fixed pasting text and media from clipboard on Firefox and iOS browsers.
โข Media Viewer: Fixed navigating to the origin message on mobile.
โข Media Viewer: Fixed lingering audio after moving to the next item.
โข Reactions: Fixed unexpected interaction animations.
โข Fixed jumping cursor when typing in Safari.
Telegram
Telegram Tips
Video Stickers. Easily create animated stickers from .WEBM video files in any editing program and publish them using the @Stickers bot.
For more details, check out the Video Sticker Manual and this step-by-step Stickers Bot Guide.
Developers can use theโฆ
For more details, check out the Video Sticker Manual and this step-by-step Stickers Bot Guide.
Developers can use theโฆ
๐ฅ8๐5๐4โค2
Telegram Web Z was updated to version 1.36
๐ Harder
โข โAdd Contactโ and โBlock Userโ buttons appear in the chat header of new chats.
โข Send media without sound or schedule it for later. Right-click the Send button on desktop, or press and hold on mobile.
โข Added support for viewing shared geo, live locations and venues.
โข Chat owners can leave their own groups without deleting them.
โข Choose from more categories when reporting specific messages.
๐คฉ Better
โข Even more UX improvements.
๐ช Stronger
โข Fixed flickering menu for bot commands.
โข Copying message text on mobile devices now works as expected.
โข Fixed frozen UI when moving between chats and comments.
๐ Harder
โข โAdd Contactโ and โBlock Userโ buttons appear in the chat header of new chats.
โข Send media without sound or schedule it for later. Right-click the Send button on desktop, or press and hold on mobile.
โข Added support for viewing shared geo, live locations and venues.
โข Chat owners can leave their own groups without deleting them.
โข Choose from more categories when reporting specific messages.
๐คฉ Better
โข Even more UX improvements.
๐ช Stronger
โข Fixed flickering menu for bot commands.
โข Copying message text on mobile devices now works as expected.
โข Fixed frozen UI when moving between chats and comments.
๐ฅ9๐ฉ5๐4๐1
Telegram Web Z was updated to version 1.37
๐ Harder
โข Access detailed interactive statistics for channels you manage.
โข Accessibility: screen readers properly detect the attachment menu.
๐คฉ Better
โข Enhanced colors for dark mode with higher contrast.
โข Even more UX improvements.
๐ช Stronger
โข Fixed issues when creating polls in channels.
โข Drafts no longer overwrite original text when editing messages.
โข Reacting to your own message no longer sends a notification.
๐ Harder
โข Access detailed interactive statistics for channels you manage.
โข Accessibility: screen readers properly detect the attachment menu.
๐คฉ Better
โข Enhanced colors for dark mode with higher contrast.
โข Even more UX improvements.
๐ช Stronger
โข Fixed issues when creating polls in channels.
โข Drafts no longer overwrite original text when editing messages.
โข Reacting to your own message no longer sends a notification.
๐ฅ15๐ฅฐ4๐3๐3๐2๐1
Telegram Web Z was updated to version 1.38
๐ Harder
โข See interactive statistics for groups you manage.
โข Adjust volume and playback speed with new controls in the Media Viewer.
โข Save GIFs sent by other users.
โข Schedule stickers and GIFs or send them silently โ right-click on desktop or long-press on mobile.
โข "Report Spam and Leave" button added for unknown channels.
โข Drafts now save when editing messages.
โข Set a custom name or include a phone number when adding contacts.
โข New contacts can now be added from the Contacts page.
โข Click to copy code blocks to your clipboard.
๐คฉ Better
โข Background pattern added for Night Mode.
โข New message drafts are restored after editing another message.
โข Updated font for Persian language (Vazirmatn 32.1).
โข More and more UX improvements.
๐ Faster
โข Optimized multiple algorithms, accelerated rendering.
๐ Harder
โข See interactive statistics for groups you manage.
โข Adjust volume and playback speed with new controls in the Media Viewer.
โข Save GIFs sent by other users.
โข Schedule stickers and GIFs or send them silently โ right-click on desktop or long-press on mobile.
โข "Report Spam and Leave" button added for unknown channels.
โข Drafts now save when editing messages.
โข Set a custom name or include a phone number when adding contacts.
โข New contacts can now be added from the Contacts page.
โข Click to copy code blocks to your clipboard.
๐คฉ Better
โข Background pattern added for Night Mode.
โข New message drafts are restored after editing another message.
โข Updated font for Persian language (Vazirmatn 32.1).
โข More and more UX improvements.
๐ Faster
โข Optimized multiple algorithms, accelerated rendering.
๐17โค5๐4๐ฅ4
This media is not supported in your browser
VIEW IN TELEGRAM
Telegram Web Z was updated to version 1.39
๐คฉ Better
โข New animations for QR code on login screen.
โข Toggle Attach Menu with keyboard or screen reader.
โข Another update for Persian language font.
โข Various UX improvements.
๐ช Stronger
โข Fixed media sometimes not being loaded.
๐คฉ Better
โข New animations for QR code on login screen.
โข Toggle Attach Menu with keyboard or screen reader.
โข Another update for Persian language font.
โข Various UX improvements.
๐ช Stronger
โข Fixed media sometimes not being loaded.
๐19โค3๐ฅฐ3๐2
Telegram Web Z was updated to version 1.40
๐คก Happy April Fool's Day! ๐คก
๐ Harder
โขFinally added support for Telegram Stories.
โข Explore 37 new emoji.
โข Set Night Mode to follow your operating system in Settings > General.
โข Upload all types of audio files with cover images and meta tags.
โข Improved designs for Settings and Management pages.
๐คฉ Better
โข Proper date formatting for all languages.
โข Changing volume in the media viewer automatically unmutes audio.
โข Groups you were restricted from now stay in your chat list.
โข Accessibility: Screen Reader support for emoji panel.
โข Removed reaction sounds.
โข Various layout improvements.
๐ Faster
โข Smoother transitions in Settings.
๐ช Stronger
โข Fixed error messages for โYou must be an adminโ and โYou can't write in this chatโ.
โข Fixed calendar months that start on a Sunday.
โข Fixed duplicated files when downloading.
โข Fixed forwarding protected content.
โข Fixed saving Privacy Exceptions.
โข Fixed various issues when switching between message lists.
๐คก Happy April Fool's Day! ๐คก
๐ Harder
โข
โข Explore 37 new emoji.
โข Set Night Mode to follow your operating system in Settings > General.
โข Upload all types of audio files with cover images and meta tags.
โข Improved designs for Settings and Management pages.
๐คฉ Better
โข Proper date formatting for all languages.
โข Changing volume in the media viewer automatically unmutes audio.
โข Groups you were restricted from now stay in your chat list.
โข Accessibility: Screen Reader support for emoji panel.
โข Removed reaction sounds.
โข Various layout improvements.
๐ Faster
โข Smoother transitions in Settings.
๐ช Stronger
โข Fixed error messages for โYou must be an adminโ and โYou can't write in this chatโ.
โข Fixed calendar months that start on a Sunday.
โข Fixed duplicated files when downloading.
โข Fixed forwarding protected content.
โข Fixed saving Privacy Exceptions.
โข Fixed various issues when switching between message lists.
๐32โค9๐7๐5๐ค4๐คฉ3๐ฅ2๐ฅฐ2๐2๐ข2
Telegram Web Z was updated to version 1.41
๐ Harder
โข Telegram Peer-to-Peer Calls โ send and receive voice and video calls with screen sharing from any up-to-date app โ secured with end-to-end encryption.
โข Challenge your friends or enjoy solo ๐ฎ with the full support of game bots like @gamee or @gamebot.
โข Know who you can trust โ
โข Report suspicious peers and their profile photos.
โข Configure bot extra settings (if available) in the chat โฎ menu.
๐คฉ Better
โข More UI improvements, as always.
โข New font for Persian language.
๐ช Stronger
โข Smoother navigation in Group and Channel Statistics.
@webztalks
๐ Harder
โข Telegram Peer-to-Peer Calls โ send and receive voice and video calls with screen sharing from any up-to-date app โ secured with end-to-end encryption.
โข Challenge your friends or enjoy solo ๐ฎ with the full support of game bots like @gamee or @gamebot.
โข Know who you can trust โ
SCAM and FAKE badges now appear in suspicious chats.โข Report suspicious peers and their profile photos.
โข Configure bot extra settings (if available) in the chat โฎ menu.
๐คฉ Better
โข More UI improvements, as always.
โข New font for Persian language.
๐ช Stronger
โข Smoother navigation in Group and Channel Statistics.
@webztalks
๐ฅ28๐9๐ฅฐ6๐ฉ5๐4
