Message List: Support MessageActionBotAllowed action message (#1330)

This commit is contained in:
Alexander Zinchuk 2021-07-26 17:35:57 +03:00
parent c9d430a5cd
commit 383e00c4fa

View File

@ -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';
}