messages.GetScheduledHistory

class pyrogram.raw.functions.messages.GetScheduledHistory[source]

Get scheduled messages

Usable by Users Bots
Details:
  • Layer: 229

  • ID: F516760B

Parameters:
  • peer (InputPeer) – Peer

  • hash (int 64-bit) – Hash used for caching, for more info click here. To generate the hash, populate the ids array with the id, edit_date (0 if unedited) and date (in this order) of the previously returned messages (in order, i.e. ids = [id1, (edit_date1?? 0), date1, id2, (edit_date2?? 0), date2,...] ).

Returns:

messages.Messages