lib/tdlib/client_methods.rb
def resend_messages(chat_id:, message_ids:)
    broadcast('@type'       => 'resendMessages',
              'chat_id'     => chat_id,
              'message_ids' => message_ids)
  end
# Resends messages which failed to send.
# Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in
#   messageSendingStateFailed.retry_after time passed.
# If a message is re-sent, the corresponding failed to send message is deleted.
# Returns the sent messages in the same order as the message identifiers passed in message_ids.
# If a message can't be re-sent, null will be returned instead of the message.
#
# @param chat_id [Integer] Identifier of the chat to send messages.
# @param message_ids [Array<Integer>] Identifiers of the messages to resend.
#   Message identifiers must be in a strictly increasing order.
# @return [TD::Types::Messages]
Resends messages which failed to send.
Can be called only for messages for which messageSendingStateFailed.can_retry is true and after specified in
messageSendingStateFailed.retry_after time passed.
If a message is re-sent, the corresponding failed to send message is deleted.
Returns the sent messages in the same order as the message identifiers passed in message_ids.
If a message can't be re-sent, null will be returned instead of the message.
Resends messages which failed to send . Can be called only for messages for which messageSendingStateFailed . can_retry is true and after specified in messageSendingStateFailed . retry_after time passed . If a message is re - sent the corresponding failed to send message is deleted . Returns the sent messages in the same order as the message identifiers passed in message_ids . If a message can ' t be re - sent null will be returned instead of the message .
def resend_messages(chat_id:, message_ids:)
    broadcast('@type'       => 'resendMessages',
              'chat_id'     => chat_id,
              'message_ids' => message_ids)
  end
def resend_messages ( chat_id : , message_ids : ) broadcast ( '@type' => 'resendMessages' , 'chat_id' => chat_id , 'message_ids' => message_ids ) end
Resends messages which failed to send.
Resends messages which failed to send .
None
TD::Types::Messages
chat_id
Identifier of the chat to send messages.
Identifier of the chat to send messages .
message_ids
Identifiers of the messages to resend. Message identifiers must be in a strictly increasing order.
Identifiers of the messages to resend . Message identifiers must be in a strictly increasing order .