2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Support business bot state in chat.

This commit is contained in:
John Preston
2024-03-18 15:02:12 +04:00
parent 3d97ea6f96
commit cf1d0677d1
20 changed files with 588 additions and 52 deletions

View File

@@ -857,6 +857,31 @@ historyEmojiStatusInfoLabel: FlatLabel(historyContactStatusLabel) {
}
historyContactStatusMinSkip: 16px;
historyBusinessBotPhoto: UserpicButton(defaultUserpicButton) {
size: size(46px, 46px);
photoSize: 46px;
photoPosition: point(0px, 0px);
}
historyBusinessBotName: FlatLabel(defaultFlatLabel) {
style: semiboldTextStyle;
}
historyBusinessBotStatus: FlatLabel(historyContactStatusLabel) {
textFg: windowSubTextFg;
}
historyBusinessBotToggle: defaultActiveButton;
historyBusinessBotSettings: IconButton(defaultIconButton) {
icon: icon{{ "menu/customize", menuIconFg }};
iconOver: icon{{ "menu/customize", menuIconFgOver }};
iconPosition: point(-1px, -1px);
rippleAreaSize: 40px;
rippleAreaPosition: point(4px, 9px);
ripple: RippleAnimation(defaultRippleAnimation) {
color: windowBgOver;
}
height: 58px;
width: 48px;
}
historyReplyCancelIcon: icon {{ "box_button_close", historyReplyCancelFg }};
historyReplyCancelIconOver: icon {{ "box_button_close", historyReplyCancelFgOver }};