Пример #1
0
 def forward_message(self, chat_id, from_chat_id, message_id):
     """
     Use this method to forward messages of any kind.
     :param chat_id: which chat to forward
     :param from_chat_id: which chat message from
     :param message_id: message id
     :return:
     """
     return apihelper.forward_message(self.token, chat_id, from_chat_id, message_id)
Пример #2
0
 def forward_message(self, chat_id, from_chat_id, message_id):
     """
     Use this method to forward messages of any kind.
     :param chat_id: which chat to forward
     :param from_chat_id: which chat message from
     :param message_id: message id
     :return: API reply.
     """
     return types.Message.de_json(apihelper.forward_message(self.token, chat_id, from_chat_id, message_id))
Пример #3
0
 def forward_message(self, chat_id, from_chat_id, message_id):
     """
     Use this method to forward messages of any kind.
     :param chat_id: which chat to forward
     :param from_chat_id: which chat message from
     :param message_id: message id
     :return: API reply.
     """
     return types.Message.de_json(
         apihelper.forward_message(self.token, chat_id, from_chat_id,
                                   message_id))