@@ -1432,4 +1432,42 @@ public Task<GiftsObject> GetAvailableGifts(CancellationToken cancellationToken =
1432
1432
/// <returns>Returns True on success.</returns>
1433
1433
public Task < bool > SendGift ( SendGift sendGift , CancellationToken cancellationToken = default ) =>
1434
1434
Post < bool > ( "sendGift" , sendGift , cancellationToken ) ;
1435
+
1436
+ /// <summary>
1437
+ /// Verifies a user on behalf of the organization which is represented by the bot. Returns True on success.
1438
+ /// </summary>
1439
+ /// <param name="verifyUser">The user to verify</param>
1440
+ /// <param name="cancellationToken">Propagates notification that operations should be canceled.</param>
1441
+ /// <returns>Returns True on success.</returns>
1442
+ public Task < bool > VerifyUser ( VerifyUser verifyUser , CancellationToken cancellationToken = default ) =>
1443
+ Post < bool > ( "verifyUser" , verifyUser , cancellationToken ) ;
1444
+
1445
+ /// <summary>
1446
+ /// Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success.
1447
+ /// </summary>
1448
+ /// <param name="verifyChat">The chat to verify</param>
1449
+ /// <param name="cancellationToken">Propagates notification that operations should be canceled.</param>
1450
+ /// <returns>Returns True on success.</returns>
1451
+ public Task < bool > VerifyChat ( VerifyChat verifyChat , CancellationToken cancellationToken = default ) =>
1452
+ Post < bool > ( "verifyChat" , verifyChat , cancellationToken ) ;
1453
+
1454
+ /// <summary>
1455
+ /// Removes verification from a user who is currently verified on behalf of the organization represented by the bot.
1456
+ /// Returns True on success.
1457
+ /// </summary>
1458
+ /// <param name="removeUserVerification">The user to remove verification from</param>
1459
+ /// <param name="cancellationToken">Propagates notification that operations should be canceled.</param>
1460
+ /// <returns>Returns True on success.</returns>
1461
+ public Task < bool > RemoveUserVerification ( RemoveUserVerification removeUserVerification , CancellationToken cancellationToken = default ) =>
1462
+ Post < bool > ( "removeUserVerification" , removeUserVerification , cancellationToken ) ;
1463
+
1464
+ /// <summary>
1465
+ /// Removes verification from a chat that is currently verified on behalf of the organization represented by the bot.
1466
+ /// Returns True on success.
1467
+ /// </summary>
1468
+ /// <param name="removeChatVerification">The chat to remove verification from</param>
1469
+ /// <param name="cancellationToken">Propagates notification that operations should be canceled.</param>
1470
+ /// <returns>Returns True on success.</returns>
1471
+ public Task < bool > RemoveChatVerification ( RemoveChatVerification removeChatVerification , CancellationToken cancellationToken = default ) =>
1472
+ Post < bool > ( "removeChatVerification" , removeChatVerification , cancellationToken ) ;
1435
1473
}
0 commit comments