MadelineProtoDocs/old_docs/API_docs_v18/constructors/messages.affectedHistory.md
2019-12-27 18:46:25 +01:00

1.2 KiB

title description image redirect_from
messages.affectedHistory Affected part of communication history with the user or in a chat. https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_affectedHistory.html

Constructor: messages.affectedHistory

Back to constructors index

Affected part of communication history with the user or in a chat.

Attributes:

Name Type Required Description
pts int Yes Number of events occured in a text box
seq int Yes Seq
offset int Yes If a parameter contains positive value, it is necessary to repeat the method call using the given value; during the proceeding of all the history the value itself shall gradually decrease

Type: messages.AffectedHistory

Example:

$messages.affectedHistory = ['_' => 'messages.affectedHistory', 'pts' => int, 'seq' => int, 'offset' => int];

Or, if you're into Lua:

messages.affectedHistory={_='messages.affectedHistory', pts=int, seq=int, offset=int}