diff --git a/src/api/gramjs/apiBuilders/messages.ts b/src/api/gramjs/apiBuilders/messages.ts index 0ccfa49ae..c2a94f662 100644 --- a/src/api/gramjs/apiBuilders/messages.ts +++ b/src/api/gramjs/apiBuilders/messages.ts @@ -744,6 +744,11 @@ function buildAction( } else if (action instanceof GramJs.MessageActionBotAllowed) { text = 'Chat.Service.BotPermissionAllowed'; translationValues.push(action.domain); + } else if (action instanceof GramJs.MessageActionCustomAction) { + text = action.message; + } else if (action instanceof GramJs.MessageActionChatJoinedByRequest) { + text = 'ChatService.UserJoinedGroupByRequest'; + translationValues.push('%action_origin%'); } else { text = 'ChatList.UnsupportedMessage'; }