Bots: Fix sharing contacts without last name (#3247)

This commit is contained in:
Alexander Zinchuk 2023-06-06 11:10:01 +02:00
parent e7ce375214
commit 43eb928af0

View File

@ -62,8 +62,8 @@ addActionHandler('clickBotInlineButton', (global, actions, payload): ActionRetur
actions.showDialog({
data: {
phoneNumber: user.phoneNumber,
firstName: user.firstName,
lastName: user.lastName,
firstName: user.firstName || '',
lastName: user.lastName || '',
userId: user.id,
} as ApiContact,
tabId,