setSaved method

MessagesRequestBuilder setSaved(
  1. bool saved
)

Pin & Save: restricts the result to messages the logged-in user has saved.

Saves are per-viewer and span every conversation, so this is usually used without a setUID/setGUID scope. Results come back newest-saved-first, and a message the user has since lost access to is dropped server-side.

Implementation

MessagesRequestBuilder setSaved(bool saved) {
  this.saved = saved;
  return this;
}