N
N
Nikita K2021-07-26 18:27:35
Java
Nikita K, 2021-07-26 18:27:35

How to forward a message from a closed telegram channel?

I'm writing a bot in java, I'm trying to send a message through ForwardMessage, in the chatId field by the digital channel id it gives an error
When I send from an open one, it's just sent by the letter id without errors
. In all examples in other languages, getChatId is forwarded from private channels

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita K, 2021-07-26
@yung_filosof

I made a mistake with the fact that id has id in closed telegram channels - at the beginning, everything worked

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question