Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message sticker #688

Open
jackie-maxx opened this issue Dec 14, 2024 · 5 comments
Open

Message sticker #688

jackie-maxx opened this issue Dec 14, 2024 · 5 comments

Comments

@jackie-maxx
Copy link

Request feature

@demchenkoalex
Copy link
Member

Hey! Can you elaborate? You mean stickers like in WhatsApp/Telegram? no idea how they implement them :)

@jackie-maxx
Copy link
Author

jackie-maxx commented Dec 24, 2024

Hey! Can you elaborate? You mean stickers like in WhatsApp/Telegram? no idea how they implement them :)

Hello, I mean using sticker like WhatsApp , Telegram or Messager and i have testing implement it like the picture i wish u implement it too. and i think in telegram it smoot than other something like WhatsApp or Messagter. and i think they using .webp file that it support animation sticker. and when loading they using Silhouette of picture that less data.
photo_2024-12-24_15-30-56

@demchenkoalex
Copy link
Member

oh nice! can I see the code somewhere? I guess I would need a separate message type for this, not sure if image message is a good candidate for a sticker. They usually have same width and height right?

@jackie-maxx
Copy link
Author

oh nice! can I see the code somewhere? I guess I would need a separate message type for this, not sure if image message is a good candidate for a sticker. They usually have same width and height right?

ohh sorry for late reply.
1.Create new widget for Sticker
2.Using Image Message for render in Chat
3.Size square (1:1)

and this is my source code.
sticker_widget.txt
local_data.txt

sticker_widget.dart
local_data.dart

i change file to txt for support to upload to reply quote.

@demchenkoalex
Copy link
Member

thank you! will come back to this a bit later :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants