Comments (8)
View counts and reactions just aren't implemented yet
You can build flatpak using Gnome Builder or flatpak-vscode extension (or just with flatpak-builder)
from paper-plane.
So instructions on the main page on building with Gnome builder and Meson work for some specific OS only?
GNOME Builder works automatically because it will use the flatpak manifest by default. If you choose to use Meson instead, the app expects you to install all the required dependencies, which are correctly listed in that section, together with all the required versions. How do you want to install those dependencies is up to you. The app is not designed to work on a specific distro. The app currently requires non-tagged versions of gtk4 and libadwaita because we want the app to be prepared for GNOME 45.
from paper-plane.
The main branch uses dev versions (i.e. the main branch) of some dependencies (in this case both gtk4 and libadwaita), that's why you don't have those dependencies yet. I suggest using flatpak to build the app so that you don't need to worry about dependencies anymore.
from paper-plane.
So instructions on the main page on building with Gnome builder and Meson work for some specific OS only?
May be Ubuntu XX ?
Please provide the name and the version of these OS.
Now I installed using flatpak but in this version all posts don't even have reactions and view counts.
from paper-plane.
View counts and reactions just aren't implemented yet
May be they are useless at all?
I tried tdlib-rs example with adding the following code in fn handle_update() :
Update::MessageInteractionInfo(update) => {
println!("{:?}", update);
}
and found that UpdateMessageInteractionInfo triggers updates very seldom even on channels with 2 million users and results are far away from real numbers in official telegram client.
[ 2][t 4][1688098940.985427141][UpdatesManager.cpp:1110][#1][!Td] Schedule getDifference in 1 seconds with PTS = 7, QTS = 0, date = 1688082165 from add_pending_channel_update 1
UpdateMessageInteractionInfo { chat_id: -1001366415996, message_id: 11890703990784, interaction_info: None }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64736985088, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 4, recent_replier_ids: [User(MessageSenderUser { user_id: 5897198547 }), User(MessageSenderUser { user_id: 6223765102 }), User(MessageSenderUser { user_id: 1775764676 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64738033664, interaction_info: Some(MessageInteractionInfo { view_count: 6, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 3, recent_replier_ids: [User(MessageSenderUser { user_id: 5686190786 }), User(MessageSenderUser { user_id: 1775764676 }), User(MessageSenderUser { user_id: 6223765102 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64739082240, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 3, recent_replier_ids: [User(MessageSenderUser { user_id: 1775764676 }), User(MessageSenderUser { user_id: 6223765102 }), User(MessageSenderUser { user_id: 5042989285 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64740130816, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 3, recent_replier_ids: [User(MessageSenderUser { user_id: 6223765102 }), User(MessageSenderUser { user_id: 5042989285 }), User(MessageSenderUser { user_id: 1775764676 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64741179392, interaction_info: Some(MessageInteractionInfo { view_count: 4, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 1, recent_replier_ids: [User(MessageSenderUser { user_id: 6223765102 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64741179392, interaction_info: Some(MessageInteractionInfo { view_count: 9056, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 5, recent_replier_ids: [User(MessageSenderUser { user_id: 1869734897 }), User(MessageSenderUser { user_id: 6132490162 }), User(MessageSenderUser { user_id: 1656902924 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π€¬" }), total_count: 93, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 19, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π±" }), total_count: 15, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 9, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 3, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "β€" }), total_count: 3, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 1, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π«‘" }), total_count: 1, is_chosen: false, recent_sender_ids: [] }] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64742227968, interaction_info: Some(MessageInteractionInfo { view_count: 2, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 2, recent_replier_ids: [User(MessageSenderUser { user_id: 1775764676 }), User(MessageSenderUser { user_id: 5042989285 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64742227968, interaction_info: Some(MessageInteractionInfo { view_count: 47185, forward_count: 205, reply_info: Some(MessageReplyInfo { reply_count: 93, recent_replier_ids: [User(MessageSenderUser { user_id: 6094325768 }), User(MessageSenderUser { user_id: 2059061947 }), User(MessageSenderUser { user_id: 5135596883 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 457, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π€¬" }), total_count: 119, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π₯" }), total_count: 38, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 31, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π€―" }), total_count: 26, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 21, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π±" }), total_count: 14, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π«‘" }), total_count: 6, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "β€" }), total_count: 4, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π’" }), total_count: 2, is_chosen: false, recent_sender_ids: [] }] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64743276544, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 0, recent_replier_ids: [], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64744325120, interaction_info: Some(MessageInteractionInfo { view_count: 5, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 2, recent_replier_ids: [User(MessageSenderUser { user_id: 5527093040 }), User(MessageSenderUser { user_id: 6250080889 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64745373696, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 3, recent_replier_ids: [User(MessageSenderUser { user_id: 6195056684 }), User(MessageSenderUser { user_id: 5042989285 }), User(MessageSenderUser { user_id: 6223765102 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64746422272, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 3, recent_replier_ids: [User(MessageSenderUser { user_id: 6195056684 }), User(MessageSenderUser { user_id: 5042989285 }), User(MessageSenderUser { user_id: 6223765102 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64747470848, interaction_info: Some(MessageInteractionInfo { view_count: 1, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 2, recent_replier_ids: [User(MessageSenderUser { user_id: 5995949582 }), User(MessageSenderUser { user_id: 5042989285 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64748519424, interaction_info: Some(MessageInteractionInfo { view_count: 2, forward_count: 0, reply_info: Some(MessageReplyInfo { reply_count: 0, recent_replier_ids: [], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [] }) }
UpdateMessageInteractionInfo { chat_id: -1001260622817, message_id: 64746422272, interaction_info: Some(MessageInteractionInfo { view_count: 147869, forward_count: 975, reply_info: Some(MessageReplyInfo { reply_count: 56, recent_replier_ids: [User(MessageSenderUser { user_id: 5089867959 }), User(MessageSenderUser { user_id: 1159349379 }), User(MessageSenderUser { user_id: 5102889367 })], last_read_inbox_message_id: 0, last_read_outbox_message_id: 0, last_message_id: 0 }), reactions: [MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π€¬" }), total_count: 618, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π’" }), total_count: 195, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 55, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π±" }), total_count: 46, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π₯" }), total_count: 14, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 14, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 11, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "β€" }), total_count: 9, is_chosen: false, recent_sender_ids: [] }, MessageReaction { type: Emoji(ReactionTypeEmoji { emoji: "π" }), total_count: 1, is_chosen: false, recent_sender_ids: [] }] }) }
Or may be this example needs changing some settings?
from paper-plane.
May be they are useless at all?
I don't think they're useless
UpdateMessageInteractionInfo triggers updates very seldom even on channels with 2 million users and results are far away from real numbers in official telegram client.
Telegram web also uses tdlib and info seems good enough for me, don't see any reason for updates to be often, the numbers are rounded anyway
from paper-plane.
1-10 views a day on channels with 2000000 users???
Such a small view count is impossible!
Just compare your numbers for any big channel with the telegram client.
from paper-plane.
I locked this for off-topic. Please use a new thread or the Telegram group to discuss.
from paper-plane.
Related Issues (20)
- Creashes when sending document HOT 2
- Escape key doesnβt close reply intend
- Needed AppStream changes HOT 1
- Crash: program error when clicking on a contact from the contact list HOT 3
- Crash regarding phone_number_input.rs HOT 5
- Custom API Crentials in gsettings
- Include instructions on how to build the Flatpak with custom API credentials
- App crashes when you delete all chat history HOT 1
- project status HOT 1
- profile glitches bug HOT 5
- Make a preview for the links in the message
- Assign missing chat folder icons
- Assign more places icons for map views
- App does not clear unread messages HOT 1
- Drafts do not persist after switching conversations
- Feature request: Allow selecting specific message text
- [Enhancement] Telegram Premium support with Telegram certification. HOT 1
- Adding scale
- voicechat / videchat
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paper-plane.