Skip to content

miniproto.messages.messages_from_history_result

miniproto.messages.messages_from_history_result

Section titled “miniproto.messages.messages_from_history_result”
messages_from_history_result(result: object, *, fallback_peer: Peer) -> tuple[Message, ...]

Convert only concrete raw messages from a history result in source order.

Parameters:

  • result (object) – Raw history response with an optional messages sequence.
  • fallback_peer (Peer) – Peer used for unknown raw peer representations.