forward_message#
-
template<class Connector>
api_result<message_t, Connector&&> forward_message(Connector &&connector, forward_message_args_t args)#
-
template<class Connector>
api_result<message_t, Connector&&> call(Connector &&connector, forward_message_args_t args)# connector
is any object satisfying connector concept.Use this method to forward messages of any kind. On success, the sent Message is returned.
-
struct forward_message_args_t#
Arguments that should be passed to
forward_message()
.Unique identifier for the target chat or username of the target channel (in the format @channelusername)
Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)
-
optional_t<boolean_t> disable_notification#
Sends the message silently. Users will receive a notification with no sound.
Message identifier in the chat specified in from_chat_id
-
optional_t<boolean_t> disable_notification#