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:
@@ -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 }};
|
||||
|
||||
|
Reference in New Issue
Block a user