View Source ExTDLib.Method.GetChatPinnedStories (ExTDLib v0.0.4)

Returns the list of pinned stories posted by the given chat. The stories are returned in a reverse chronological order (i.e., in order of decreasing story_id). For optimal performance, the number of returned stories is chosen by TDLib. Returns object_ptr<Stories>.

NameTypeDescription
chat_idstringChat identifier.
from_story_idnumberIdentifier of the story starting from which stories must be returned; use 0 to get results from the last story.
limitnumberThe maximum number of stories to be returned For optimal performance, the number of returned stories is chosen by TDLib and can be smaller than the specified limit.

More details on telegram's documentation.