syntax = "proto3";

package ig.common;

// Shared message types used across Instagram

message Timestamp {
  int64 unix_time_ms = 1;
}

message UserId {
  int64 id = 1;
}

message ThreadId {
  int64 id = 1;
}

message Reaction {
  string emoji = 1;
  int32 count = 2;
  int64 created_at = 3;
}

message MediaAttachment {
  int64 media_id = 1;
  string type = 2; // image, video, carousel
  string url = 3;
  int32 width = 4;
  int32 height = 5;
}

message Link {
  string url = 1;
  string title = 2;
  string description = 3;
  string image_url = 4;
}
