@namespace("keybase.1")
protocol NotifyBadges {
  import idl "common.avdl";

  @typedef("bytes")  record ChatConversationID {}

  record BadgeState {
    @lint("ignore")
    int newTlfs;
    int rekeysNeeded;
    int newFollowers;

    array<BadgeConversationInfo> conversations;
  }

  record BadgeConversationInfo {
    ChatConversationID convID;
    @lint("ignore")
    int UnreadMessages;
  }

  @notify("")
  void badgeState(BadgeState badgeState);
}
