telegram api method · layer 229 · #8c4bfe5d

messages.getOutboxReadDate

usable by users

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

nametypedescription
peerInputPeerThe user to whom we sent the message.
msg_idintThe message ID.

returns

OutboxReadDate

errors (8)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400MESSAGE_ID_INVALIDThe provided message id is invalid.
400MESSAGE_NOT_READ_YETThe specified message wasn't read yet.
400MESSAGE_TOO_OLDThe message is too old, the requested information is not available.
400PEER_ID_INVALIDThe provided peer id is invalid.
401AUTH_KEY_UNREGISTEREDThe specified authorization key is not registered in the system (for example, a PFS temporary key has expired).
403USER_PRIVACY_RESTRICTEDThe user's privacy settings do not allow you to do this.
403YOUR_PRIVACY_RESTRICTEDYou 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

idlayers
#8c4bfe5d172–229