Generated by DocFX

Class MessageTab

Message tab loads the messages between main address and the partner address

Inheritance
System.Object
MessageTab
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VEDriversLite.Messaging
Assembly: VEDriversLite.dll
Syntax
public class MessageTab

Constructors

| Improve this Doc View Source

MessageTab(String)

Main constructor. Input the address of the partner

Declaration
public MessageTab(string address)
Parameters
Type Name Description
System.String address

Properties

| Improve this Doc View Source

AccountAddress

Address of the main account

Declaration
[JsonIgnore]
public string AccountAddress { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

AccountSecret

Main Account Secret - it is used for decryption of the messages

Declaration
[JsonIgnore]
public BitcoinSecret AccountSecret { get; set; }
Property Value
Type Description
NBitcoin.BitcoinSecret
| Improve this Doc View Source

Address

Address of the partner - loaded address

Declaration
public string Address { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

BookmarkFromAccount

Loaded bookaark form the main account if the bookmark exists Otherwise it is empty (not null)

Declaration
[JsonIgnore]
public Bookmark BookmarkFromAccount { get; set; }
Property Value
Type Description
Bookmark
| Improve this Doc View Source

IsInBookmark

This flag is set when address of the partner is stored in the bookmark of the main account

Declaration
[JsonIgnore]
public bool IsInBookmark { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

NFTMessages

List of the NFTs related to the conversation between main account and partner address

Declaration
[JsonIgnore]
public List<INFT> NFTMessages { get; set; }
Property Value
Type Description
System.Collections.Generic.List<INFT>
| Improve this Doc View Source

NFTs

List of the NFTs of partner address

Declaration
[JsonIgnore]
public List<INFT> NFTs { get; set; }
Property Value
Type Description
System.Collections.Generic.List<INFT>
| Improve this Doc View Source

Profile

Profile of the partner account - it is NFT profile

Declaration
[JsonIgnore]
public ProfileNFT Profile { get; set; }
Property Value
Type Description
ProfileNFT
| Improve this Doc View Source

PublicKey

Public key of the partner if it was already found

Declaration
[JsonIgnore]
public PubKey PublicKey { get; set; }
Property Value
Type Description
NBitcoin.PubKey
| Improve this Doc View Source

PublicKeyFound

This is set when the public key has been already found and loaded

Declaration
public bool PublicKeyFound { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Selected

Message tab is selected

Declaration
public bool Selected { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ShortAddress

Shorten address of the partner

Declaration
[JsonIgnore]
public string ShortAddress { get; set; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

AddAccoundMessages(List<INFT>)

Add messages from the main account to the list This will combine list of received and sent messages to one list

Declaration
public async Task AddAccoundMessages(List<INFT> innfts)
Parameters
Type Name Description
System.Collections.Generic.List<INFT> innfts
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

ClearBookmark()

Clear the bookmark object

Declaration
public void ClearBookmark()
| Improve this Doc View Source

LoadBookmark(Bookmark)

Load the bookmark object

Declaration
public void LoadBookmark(Bookmark bkm)
Parameters
Type Name Description
Bookmark bkm
| Improve this Doc View Source

RefreshMessages(List<INFT>)

Refresh the messages list

Declaration
public async Task RefreshMessages(List<INFT> innfts)
Parameters
Type Name Description
System.Collections.Generic.List<INFT> innfts
Returns
Type Description
System.Threading.Tasks.Task
| Improve this Doc View Source

Reload(List<INFT>)

Reload the NFTs

Declaration
public async Task Reload(List<INFT> innfts)
Parameters
Type Name Description
System.Collections.Generic.List<INFT> innfts
Returns
Type Description
System.Threading.Tasks.Task