$botToken= "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX";
$website = "https://api.telegram.org/bot".$botToken;
?>
<form action="<?php echo $website.'/sendPhoto' ?>" method="post" enctype="multipart/form-data">
<input type="text" name="chat_id" value="-426035199">
<input type="file" name="photo" />
<input type="submit" value="send" />
</form>
<body>
<form action="telegram.php" enctype="multipart/form-data" method="POST">
<input type="text" name="text" placeholder="text" required>
<input type="user_email" name="email" placeholder="email" required>
<input type="file" name="file">
<button type="submit">submit</button>
</form>
$scope.creditRating = response.data.creditRating === 'Poor' ? 'Плохой' : 'Средний' ? 'Хороший' : 'очень хороший'? 'Отличный' : 'Наилучший'