Message List: Support MessageActionBotAllowed action message (#1330)
This commit is contained in:
parent
c9d430a5cd
commit
383e00c4fa
@ -669,6 +669,9 @@ function buildAction(
|
|||||||
} else {
|
} else {
|
||||||
text = 'Notification.VoiceChatStartedChannel';
|
text = 'Notification.VoiceChatStartedChannel';
|
||||||
}
|
}
|
||||||
|
} else if (action instanceof GramJs.MessageActionBotAllowed) {
|
||||||
|
text = 'Chat.Service.BotPermissionAllowed';
|
||||||
|
translationValues.push(action.domain);
|
||||||
} else {
|
} else {
|
||||||
text = 'ChatList.UnsupportedMessage';
|
text = 'ChatList.UnsupportedMessage';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user