Skip to content

A conversation's details ​

Reached from a conversation.

Every example starts from saved, the checkpoint the index describes; the launch hands the feed, and a tab edge lands on the tab's root.

Look at the details and the shared media ​

ts
// Open the details of a conversation, then its shared media.
const sharedMedia = await AndroidIgpapi.launch({
  checkpoint: saved,
  screen: FeedTimelineScreen,
  main: feed =>
    Effect.gen(function* () {
      const tab = yield* feed.openDirectTab();
      const item = tab.threads[0];
      if (item === undefined) return undefined;
      const thread = yield* item.open();
      const details = yield* thread.openThreadDetails();
      const media = yield* details.openSharedMedia();
      return media.data.thread_title;
    }),
});
console.log(sharedMedia);

The shared media the example opens has its own directory.

What the details do not offer ​

Muting a conversation and the group's options (leave, hide, restrict, block) have no action here.

The mute dialogMute: not offered.

The group options menuLeave, hide, restrict, block: not offered.

The pages of this site are the README files of the repository. The API reference is generated from the source.