mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-07-06 00:00:50 +00:00
17 lines
4.3 KiB
Markdown
17 lines
4.3 KiB
Markdown
//[docs](../../index.md)/[dev.inmo.tgbotapi.extensions.api](index.md)/[forwardMessage](forward-message.md)
|
|
|
|
|
|
|
|
# forwardMessage
|
|
[common]
|
|
Content
|
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[forwardMessage](forward-message.md)(fromChatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), toChatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [PossiblyForwardedMessage](../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.md)
|
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[forwardMessage](forward-message.md)(fromChat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), toChatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [PossiblyForwardedMessage](../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.md)
|
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[forwardMessage](forward-message.md)(fromChatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), toChat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [PossiblyForwardedMessage](../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.md)
|
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[forwardMessage](forward-message.md)(fromChat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), toChat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), messageId: [MessageIdentifier](../dev.inmo.tgbotapi.types/index.md#%5Bdev.inmo.tgbotapi.types%2FMessageIdentifier%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081), disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [PossiblyForwardedMessage](../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.md)
|
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[forwardMessage](forward-message.md)(toChatId: [ChatIdentifier](../dev.inmo.tgbotapi.types/-chat-identifier/index.md), message: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [PossiblyForwardedMessage](../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.md)
|
|
suspend fun [TelegramBot](../dev.inmo.tgbotapi.bot/index.md#%5Bdev.inmo.tgbotapi.bot%2FTelegramBot%2F%2F%2FPointingToDeclaration%2F%5D%2FClasslikes%2F625018081).[forwardMessage](forward-message.md)(toChat: [Chat](../dev.inmo.tgbotapi.types.chat.abstracts/-chat/index.md), message: [Message](../dev.inmo.tgbotapi.types.message.abstracts/-message/index.md), disableNotification: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false): [PossiblyForwardedMessage](../dev.inmo.tgbotapi.types.message.abstracts/-possibly-forwarded-message/index.md)
|
|
|
|
|
|
|