chore: cleanup
This commit is contained in:
parent
1f3d4525d8
commit
06367a3ccd
@ -18,7 +18,7 @@ public class PrepareUserService(ITelegramBotClient bot, User.UserClient userClie
|
|||||||
/// <param name="ct">Cancellation Token</param>
|
/// <param name="ct">Cancellation Token</param>
|
||||||
/// <returns>RPC User Response</returns>
|
/// <returns>RPC User Response</returns>
|
||||||
/// <exception cref="FallbackException">If something in server logic went wrong</exception>
|
/// <exception cref="FallbackException">If something in server logic went wrong</exception>
|
||||||
/// <exception cref="ArgumentNullException">If update.Message is null</exception>
|
/// <exception cref="ArgumentNullException">update.Message is null</exception>
|
||||||
public async Task<GetUserResponse> RegisterUser(Update update, CancellationToken ct = default)
|
public async Task<GetUserResponse> RegisterUser(Update update, CancellationToken ct = default)
|
||||||
{
|
{
|
||||||
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
||||||
@ -54,7 +54,7 @@ public class PrepareUserService(ITelegramBotClient bot, User.UserClient userClie
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="update">Telegram Update object</param>
|
/// <param name="update">Telegram Update object</param>
|
||||||
/// <param name="ct">Cancellation Token</param>
|
/// <param name="ct">Cancellation Token</param>
|
||||||
/// <exception cref="ArgumentNullException">If update.Message is null</exception>
|
/// <exception cref="ArgumentNullException">update.Message is null</exception>
|
||||||
public async Task AskForEulaAgreement(Update update, CancellationToken ct = default)
|
public async Task AskForEulaAgreement(Update update, CancellationToken ct = default)
|
||||||
{
|
{
|
||||||
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
ArgumentNullException.ThrowIfNull(update.Message?.From);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user