telegram api method · layer 229 · #8c4bfe5d
messages.getOutboxReadDate
Get the exact read date of one of our messages, sent to a private chat with another user.
definition
messages.getOutboxReadDate#8c4bfe5d peer:InputPeer msg_id:int = OutboxReadDate;
parameters
| name | type | description |
|---|---|---|
peer | InputPeer | The user to whom we sent the message. |
msg_id | int | The message ID. |
returns
errors (8)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
| 400 | MESSAGE_NOT_READ_YET | The specified message wasn't read yet. |
| 400 | MESSAGE_TOO_OLD | The message is too old, the requested information is not available. |
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
| 401 | AUTH_KEY_UNREGISTERED | The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
| 403 | USER_PRIVACY_RESTRICTED | The user's privacy settings do not allow you to do this. |
| 403 | YOUR_PRIVACY_RESTRICTED | You cannot fetch the read date of this message because you have disallowed other users to do so for *your* messages; to fix, allow other users to see *your* exact last online date OR purchase a Telegram Premium subscription. |
history
present in layers 172–229
| id | layers |
|---|---|
| #8c4bfe5d | 172–229 |