(
token, chat_id, from_chat_id, message_id,
disable_notification=None, timeout=None, protect_content=None, message_thread_id=None,
video_start_timestamp=None, direct_messages_topic_id=None, suggested_post_parameters=None,
message_effect_id=None)
| 442 | |
| 443 | |
| 444 | def forward_message( |
| 445 | token, chat_id, from_chat_id, message_id, |
| 446 | disable_notification=None, timeout=None, protect_content=None, message_thread_id=None, |
| 447 | video_start_timestamp=None, direct_messages_topic_id=None, suggested_post_parameters=None, |
| 448 | message_effect_id=None): |
| 449 | method_url = r'forwardMessage' |
| 450 | payload = {'chat_id': chat_id, 'from_chat_id': from_chat_id, 'message_id': message_id} |
| 451 | if disable_notification is not None: |
| 452 | payload['disable_notification'] = disable_notification |
| 453 | if timeout: |
| 454 | payload['timeout'] = timeout |
| 455 | if protect_content is not None: |
| 456 | payload['protect_content'] = protect_content |
| 457 | if message_thread_id: |
| 458 | payload['message_thread_id'] = message_thread_id |
| 459 | if video_start_timestamp: |
| 460 | payload['video_start_timestamp'] = video_start_timestamp |
| 461 | if direct_messages_topic_id is not None: |
| 462 | payload['direct_messages_topic_id'] = direct_messages_topic_id |
| 463 | if suggested_post_parameters is not None: |
| 464 | payload['suggested_post_parameters'] = suggested_post_parameters.to_json() |
| 465 | if message_effect_id: |
| 466 | payload['message_effect_id'] = message_effect_id |
| 467 | return _make_request(token, method_url, params=payload) |
| 468 | |
| 469 | |
| 470 | def copy_message(token, chat_id, from_chat_id, message_id, caption=None, parse_mode=None, caption_entities=None, |
nothing calls this directly
no test coverage detected
searching dependent graphs…