Layer 224
method Users

Parameters

Name Type Description
Peer InputPeer The user to whom we sent the message.
MsgId int The message ID.

Returns

OutboxReadDate

Gogram Example

// MessagesGetOutboxReadDate - positional arguments
result, err := client.MessagesGetOutboxReadDate(&tg.InputPeerUser{UserID: int64(777000)}, 42)
if err != nil {
    // handle error
}
// result is *tg.OutboxReadDate

Possible Errors

Code Type Description
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.
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.