Class
FlightCardMessage

Represents card message type that displays information about flights.

Definition

Constructors

FlightCardMessage(Author, DateTime)

Initializes a new instance of the FlightCardMessage class.

Declaration

cs-api-definition
public FlightCardMessage(Author author, DateTime creationDate = default)

Parameters

author

Author

creationDate

DateTime

Properties

ActionResultsOrientation

Gets or sets the orientation of action results list.

Declaration

cs-api-definition
public Orientation ActionResultsOrientation { get; set; }

Property Value

Orientation

Flights

Gets a collection of the displayed flights.

Declaration

cs-api-definition
public IList<FlightInfo> Flights { get; }

Property Value

IList<FlightInfo>

ImageSource

Gets or sets the flight icon image.

Declaration

cs-api-definition
public ImageSource ImageSource { get; set; }

Property Value

ImageSource

InlineViewModel

Gets the InlineViewModel.

Declaration

cs-api-definition
public InlineViewModel InlineViewModel { get; }

Property Value

InlineViewModel

Implements IInlineMessage.InlineViewModel

PassengerName

Gets or sets the name of the passenger.

Declaration

cs-api-definition
public string PassengerName { get; set; }

Property Value

string

Total

Gets or sets the formatted total price.

Declaration

cs-api-definition
public string Total { get; set; }

Property Value

string