mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: telegram group join request approve
This commit is contained in:
		| @@ -26,6 +26,22 @@ class TelegramService { | ||||
|         ]); | ||||
|     } | ||||
|  | ||||
|     public function approveChatJoinRequest(int $chatId, int $userId) | ||||
|     { | ||||
|         $this->request('approveChatJoinRequest', [ | ||||
|             'chat_id' => $chatId, | ||||
|             'user_id' => $userId | ||||
|         ]); | ||||
|     } | ||||
|  | ||||
|     public function declineChatJoinRequest(int $chatId, int $userId) | ||||
|     { | ||||
|         $this->request('declineChatJoinRequest', [ | ||||
|             'chat_id' => $chatId, | ||||
|             'user_id' => $userId | ||||
|         ]); | ||||
|     } | ||||
|  | ||||
|     public function getMe() | ||||
|     { | ||||
|         return $this->request('getMe'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user