1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-14 12:47:56 +01:00
MadelineProto/docs/TD_docs/methods/forwardMessages.md

27 lines
1.3 KiB
Markdown
Raw Normal View History

---
title: forwardMessages
2017-12-21 21:08:25 +01:00
description: Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message
---
## Method: forwardMessages
[Back to methods index](index.md)
2017-06-06 18:39:21 +02:00
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
2017-12-21 21:08:25 +01:00
Forwards previously sent messages. Returns forwarded messages in the same order as message identifiers passed in message_ids. If message can't be forwarded, null will be returned instead of the message
### Parameters:
| Name | Type | Required | Description |
2017-08-20 11:05:56 +02:00
|----------|---------------|----------|-------------|
2018-03-20 16:42:05 +01:00
|chat\_id|[CLICK ME int53](../types/int53.md) | Yes|Identifier of a chat to forward messages|
|from\_chat\_id|[CLICK ME int53](../types/int53.md) | Yes|Identifier of a chat to forward from|
|message\_ids|Array of [CLICK ME int53](../types/int53.md) | Yes|Identifiers of messages to forward|
|disable\_notification|[CLICK ME Bool](../types/Bool.md) | Yes|Pass true, to disable notification about the message, doesn't works if messages are forwarded to secret chat|
|from\_background|[CLICK ME Bool](../types/Bool.md) | Yes|Pass true, if the message is sent from background|
### Return type: [Messages](../types/Messages.md)