@@ -2604,6 +2604,7 @@ export class TelegramBot extends EventEmitter {
26042604  async  sendGift ( options : { 
26052605    user_id : number ; 
26062606    gift_id : string ; 
2607+     pay_for_upgrade ?: boolean ; 
26072608    text ?: string ; 
26082609    text_parse_mode ?: ParseMode ; 
26092610    text_entities ?: MessageEntity [ ] ; 
@@ -2614,6 +2615,44 @@ export class TelegramBot extends EventEmitter {
26142615    } ) ; 
26152616  } 
26162617
2618+   /** 
2619+    * ## verifyUser 
2620+    * Verifies a user on behalf of the organization which is represented by the bot. Returns True on success. 
2621+    * @see  https://core.telegram.org/bots/api#verifyuser 
2622+    */ 
2623+   async  verifyUser ( options : {  user_id : number ;  custom_description ?: string  } ) : Promise < true >  { 
2624+     return  await  this . callApi ( 'verifyUser' ,  options ) ; 
2625+   } 
2626+ 
2627+   /** 
2628+    * ## verifyChat 
2629+    * Verifies a chat on behalf of the organization which is represented by the bot. Returns True on success. 
2630+    * @see  https://core.telegram.org/bots/api#verifychat 
2631+    */ 
2632+   async  verifyChat ( options : {  chat_id : number  |  string ;  custom_description ?: string  } ) : Promise < true >  { 
2633+     return  await  this . callApi ( 'verifyChat' ,  options ) ; 
2634+   } 
2635+ 
2636+   /** 
2637+    * ## removeUserVerification 
2638+    * Removes verification from a chat that is currently verified on behalf of the organization represented by the bot. 
2639+    * Returns True on success. 
2640+    * @see  https://core.telegram.org/bots/api#removeuserverification 
2641+    */ 
2642+   async  removeUserVerification ( options : {  user_id : number  } ) : Promise < true >  { 
2643+     return  await  this . callApi ( 'removeUserVerification' ,  options ) ; 
2644+   } 
2645+ 
2646+   /** 
2647+    * ## removeChatVerification 
2648+    * Removes verification from a chat which is currently verified on behalf of the organization represented by the bot. 
2649+    * Returns True on success. 
2650+    * @see  https://core.telegram.org/bots/api#removechatverification 
2651+    */ 
2652+   async  removeChatVerification ( options : {  chat_id : number  |  string  } ) : Promise < true >  { 
2653+     return  await  this . callApi ( 'removeChatVerification' ,  options ) ; 
2654+   } 
2655+ 
26172656  on < U  extends  keyof  allEmittedTypes > ( event : U ,  listener : ( eventData : NonNullable < allEmittedTypes [ U ] > )  =>  void ) : this { 
26182657    return  super . on ( event ,  listener )  as  this; 
26192658  } 
0 commit comments