Insert users and save their connection to chats
public static insertUser ( Longman\TelegramBot\Entities\User $user, string $date, |
||
$user | Longman\TelegramBot\Entities\User | |
$date | string | |
$chat | ||
return | boolean | If the insert was successful |