Table of Contents

Class BubbleReaction

Namespace
TwBlazor.Models
Assembly
TwBlazor.dll

A reaction shown under a chat bubble (TwBubble), such as a thumbs up and how many people chose it.

[ExcludeFromCodeCoverage]
public class BubbleReaction
Inheritance
BubbleReaction
Inherited Members

Constructors

BubbleReaction()

public BubbleReaction()

Properties

Count

Gets or sets how many people chose the reaction.

public int Count { get; set; }

Property Value

int

Emoji

Gets or sets the emoji or short text shown on the reaction, for example "👍".

public required string Emoji { get; set; }

Property Value

string

Label

Gets or sets the name screen readers announce for the reaction, for example "Thumbs up".

public string? Label { get; set; }

Property Value

string

Remarks

If not set, Emoji is announced, which screen readers read out by its own name.

Reacted

Gets or sets whether the current user chose the reaction. A clickable reaction reports it as pressed.

public bool Reacted { get; set; }

Property Value

bool