Fix Verification User Senario ...
This commit is contained in:
@@ -190,8 +190,9 @@ namespace xBotService.Reciever
|
||||
{
|
||||
//
|
||||
await HandleBotAction(
|
||||
botUser: item,
|
||||
update: update,
|
||||
botUserDto: item
|
||||
cancellationToken: cancellationToken
|
||||
);
|
||||
return;
|
||||
}
|
||||
@@ -230,11 +231,13 @@ namespace xBotService.Reciever
|
||||
/// Handle Bot Sent Commands ...
|
||||
/// </summary>
|
||||
/// <param name="update"></param>
|
||||
/// <param name="botUserDto"></param>
|
||||
/// <param name="botUser"></param>
|
||||
/// <param name="cancellationToken"></param>
|
||||
/// <returns></returns>
|
||||
public async Task HandleBotAction(
|
||||
XBotUpdateResponse update,
|
||||
XBotUserDto botUserDto
|
||||
XBotUserDto botUser,
|
||||
CancellationToken cancellationToken = default
|
||||
)
|
||||
{
|
||||
//
|
||||
@@ -262,6 +265,10 @@ namespace xBotService.Reciever
|
||||
//
|
||||
// Remove Inline Keyboard ...
|
||||
// And Send Verification ...
|
||||
await botProvider.SendVerificationCode(
|
||||
botUserId: botUser.BotUserId,
|
||||
cancellationToken: cancellationToken
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user