You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a profile_accent_color_id field under the user class. But from the description it seems that this is a custom color premium users instead of the default color? If so, which api should one use to get the default color? If there is no such api, can you share the algorithm for generating the color? I see that it is consistent across the official clients.
The text was updated successfully, but these errors were encountered:
Use user.accent_color_id: "Identifier of the accent color for ... backgrounds of profile photo ..".
The note "For Telegram Premium users only" in the documentation is redundant and will be removed.
There is a
profile_accent_color_id
field under theuser
class. But from the description it seems that this is a custom color premium users instead of the default color? If so, which api should one use to get the default color? If there is no such api, can you share the algorithm for generating the color? I see that it is consistent across the official clients.The text was updated successfully, but these errors were encountered: