Commit a44f1ed4 authored by Fernando Takagi's avatar Fernando Takagi
Browse files

Change api haystack field to nullable

parent 1f93a5c7
Loading
Loading
Loading
Loading
+930 −926

File changed.

Preview size limit exceeded, changes collapsed.

+3 −3
Original line number Diff line number Diff line
@@ -727,10 +727,10 @@ message ListChannelMessagesRequest {
  string user_id_two = 5;
  // Cursor to start from
  string cursor = 6;
  // Whether to list messages from oldest to newest, or newest to oldest.
  // Whether to list messages from oldest to newest, or newest to oldest
  bool forward = 7;
  // Timestamp to list messages around, if no cursor is provided
  int64 haystack_sec = 8;
  // (Optional) Timestamp to list messages around, if no cursor is provided
  google.protobuf.Int64Value haystack_sec = 8;
}

// List (and optionally filter) groups.
+1 −1
Original line number Diff line number Diff line
@@ -1190,7 +1190,7 @@
          },
          {
            "name": "haystack_sec",
            "description": "Timestamp to list messages around, if no cursor is provided.",
            "description": "(Optional) Timestamp to list messages around, if no cursor is provided.",
            "in": "query",
            "required": false,
            "type": "string",