messages.getScheduledHistory
Get scheduled messages
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | ピア |
hash | long | はい | [Hash used for caching, for more info click here](https://core.telegram.org/api/offsets.md#hash-generation). 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, ...]`). |
レスポンス
messages.Messages
MTProto RPC
- 400 · CHAT_ADMIN_REQUIRED — You must be an admin in this chat to do this.
- 400 · PEER_ID_INVALID — The provided peer id is invalid.