Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Basic Message #188

Open
natinas opened this issue May 18, 2021 · 1 comment
Open

Basic Message #188

natinas opened this issue May 18, 2021 · 1 comment

Comments

@natinas
Copy link

natinas commented May 18, 2021

Hello,
i have 2 questions for u.

  1. how is it possible to have the list of basic message that i sent to other agent ? like the method "ListAsync" in "ProofService", "CredentialService" or "ConnectionService"

  2. a little bit similar to the first, how is it possible to have the list of basic message that i received ?

thx for your help.

@sahil-khanna
Copy link

You can try the below to get the list of BasicMessage

List<BasicMessageRecord> basicMessageRecords = await walletRecordService.SearchAsync<BasicMessageRecord>(AgentContext.Wallet, SearchQuery.Equal(nameof(BasicMessageRecord.ConnectionId), Connection.Record.Id), null, int.MaxValue);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants