A
Size: a a a
A
s🇷
EA
ダ
ダ
A
A
🚀
py3
print ('Доброе утро')
Доброе утро
Б
py3
print ('Доброе утро')
Доброе утро
Б
ДП
A
import telebot
B = telebot.TeleBot('1405125116:AAEbSXrGdg-vsEId96DMFAZYNHMUGOCxl1E')
B.get_me()
{'id': 1405125116, 'is_bot': True, 'first_name': 'Instander Bot', 'username': 'instanderbot', 'last_name': None, 'language_code': None, 'can_join_groups': True, 'can_read_all_group_messages': False, 'supports_inline_queries': False}
GF
py3
print ('Доброе утро')
Доброе утро
java
class Rextester {
static public void main(String[] args){
System.out.println("Good morning");
}
}
Good morning
GF
import telebot
B = telebot.TeleBot('1405125116:AAEbSXrGdg-vsEId96DMFAZYNHMUGOCxl1E')
B.get_me()
{'id': 1405125116, 'is_bot': True, 'first_name': 'Instander Bot', 'username': 'instanderbot', 'last_name': None, 'language_code': None, 'can_join_groups': True, 'can_read_all_group_messages': False, 'supports_inline_queries': False}
GF
A
import telebot
B = telebot.TeleBot('1405125116:AAEbSXrGdg-vsEId96DMFAZYNHMUGOCxl1E')
B.send_message("@insensiblity", "Ты был взломан!")
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/telebot/__init__.py", line 707, in send_message
reply_markup, parse_mode, disable_notification, timeout))
File "/usr/local/lib/python3.7/site-packages/telebot/apihelper.py", line 206, in send_message
return _make_request(token, method_url, params=payload, method='post')
File "/usr/local/lib/python3.7/site-packages/telebot/apihelper.py", line 113, in _make_request
json_result = _check_result(method_name, result)
File "/usr/local/lib/python3.7/site-packages/telebot/apihelper.py", line 140, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 400. Description: Bad Request: chat not found
A
A