mirror of
https://github.com/danog/telegram-tt.git
synced 2025-01-22 05:11:55 +01:00
Message List: Support MessageActionBotAllowed
action message (#1330)
This commit is contained in:
parent
c9d430a5cd
commit
383e00c4fa
@ -669,6 +669,9 @@ function buildAction(
|
||||
} else {
|
||||
text = 'Notification.VoiceChatStartedChannel';
|
||||
}
|
||||
} else if (action instanceof GramJs.MessageActionBotAllowed) {
|
||||
text = 'Chat.Service.BotPermissionAllowed';
|
||||
translationValues.push(action.domain);
|
||||
} else {
|
||||
text = 'ChatList.UnsupportedMessage';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user