В
Size: a a a
В
ДП
ДП
A
def copy_message(
token, chat_id, from_chat_id, message_id, caption=None, parse_mode=None,
disable_notification=None, reply_to_message_id=None, allow_sending_without_reply=None,
reply_markup=None
):
method_name = 'copyMessage'
payload = {
'token': token,
'chat_id': chat_id,
'from_chat_id': from_chat_id,
'message_id': message_id
}
if caption:
payload['caption'] = caption
if parse_mode:
payload['parse_mode'] = parse_mode
if disable_notification:
payload['disable_notification'] = disable_notification
if reply_to_message_id:
payload['reply_to_message_id'] = reply_to_message_id
if allow_sending_without_reply:
payload['allow_sending_without_reply'] = allow_sending_without_reply
if reply_markup:
payload['reply_markup'] = telebot.apihelper._convert_markup(reply_markup)
return telebot.apihelper._make_request(token, method_name, params=payload)
A
ДП
A
B
B
A
B
A
ДП
B
B
ДП
A
ДП