Udostępnij przez


ReceiptItem Konstruktory

Definicja

Przeciążenia

ReceiptItem()

Inicjuje nowe wystąpienie klasy ReceiptItem.

ReceiptItem(String, String, String, CardImage, String, String, CardAction)

Inicjuje nowe wystąpienie klasy ReceiptItem.

ReceiptItem()

Inicjuje nowe wystąpienie klasy ReceiptItem.

public ReceiptItem();
Public Sub New ()

Dotyczy

ReceiptItem(String, String, String, CardImage, String, String, CardAction)

Inicjuje nowe wystąpienie klasy ReceiptItem.

public ReceiptItem(string title = default, string subtitle = default, string text = default, Microsoft.Bot.Schema.CardImage image = default, string price = default, string quantity = default, Microsoft.Bot.Schema.CardAction tap = default);
new Microsoft.Bot.Schema.ReceiptItem : string * string * string * Microsoft.Bot.Schema.CardImage * string * string * Microsoft.Bot.Schema.CardAction -> Microsoft.Bot.Schema.ReceiptItem
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional image As CardImage = Nothing, Optional price As String = Nothing, Optional quantity As String = Nothing, Optional tap As CardAction = Nothing)

Parametry

title
String

Tytuł karty.

subtitle
String

Podtytuł jest wyświetlany tuż pod polem Tytuł, różni się od tytułu tylko w stylu czcionki.

text
String

Pole tekstowe pojawia się tuż poniżej podtytułu, różni się od podtytułu tylko w stylu czcionki.

image
CardImage

Obraz

price
String

Kwota z walutą.

quantity
String

Liczba elementów danego rodzaju.

tap
CardAction

Ta akcja zostanie aktywowana po naciśnięciu przez użytkownika bąbelka Element.

Dotyczy