public class SendInvoice extends java.lang.Object implements TelegramMethod<InvoiceMessage>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
SendInvoice() |
| Modifier and Type | Method and Description |
|---|---|
SendInvoice |
chat(Chat chat) |
SendInvoice |
chat(java.lang.Long chatId) |
SendInvoice |
currency(Currency currency) |
SendInvoice |
currency(java.lang.String currency) |
SendInvoice |
description(java.lang.String description) |
SendInvoice |
disableNotification() |
SendInvoice |
disableNotification(java.lang.Boolean disableNotification) |
java.lang.String |
getName()
Returns the name of the method.
|
java.util.Map<java.lang.String,java.lang.Object> |
getParameters()
Return the parameters of the method.
|
java.lang.Class<? extends InvoiceMessage> |
getReturnType()
Returns the return type of the method.
|
SendInvoice |
isFlexible() |
SendInvoice |
isFlexible(java.lang.Boolean isFlexible) |
SendInvoice |
needEmail() |
SendInvoice |
needEmail(java.lang.Boolean needEmail) |
SendInvoice |
needName() |
SendInvoice |
needName(java.lang.Boolean needName) |
SendInvoice |
needPhoneNumber() |
SendInvoice |
needPhoneNumber(java.lang.Boolean needPhoneNumber) |
SendInvoice |
needShippingAddress() |
SendInvoice |
needShippingAddress(java.lang.Boolean needShippingAddress) |
SendInvoice |
payload(java.lang.String payload) |
SendInvoice |
photoHeight(java.lang.Integer photoHeight) |
SendInvoice |
photoSize(java.lang.Integer photoSize) |
SendInvoice |
photoUrl(java.lang.String photoUrl) |
SendInvoice |
photoWidth(java.lang.Integer photoWidth) |
SendInvoice |
prices(LabeledPrice... prices) |
SendInvoice |
providerData(java.lang.String providerData) |
SendInvoice |
providerToken(java.lang.String providerToken) |
SendInvoice |
replyMarkup(InlineKeyboardMarkup replyMarkup) |
SendInvoice |
replyToMessage(java.lang.Long replyToMessageId) |
SendInvoice |
replyToMessage(Message message) |
SendInvoice |
startParameter(java.lang.String startParameter) |
SendInvoice |
title(java.lang.String title) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFilespublic static final java.lang.String NAME
public SendInvoice chat(java.lang.Long chatId)
public SendInvoice chat(Chat chat)
public SendInvoice title(java.lang.String title)
public SendInvoice description(java.lang.String description)
public SendInvoice payload(java.lang.String payload)
public SendInvoice providerToken(java.lang.String providerToken)
public SendInvoice startParameter(java.lang.String startParameter)
public SendInvoice currency(java.lang.String currency)
public SendInvoice currency(Currency currency)
public SendInvoice prices(LabeledPrice... prices)
public SendInvoice providerData(java.lang.String providerData)
public SendInvoice photoUrl(java.lang.String photoUrl)
public SendInvoice photoSize(java.lang.Integer photoSize)
public SendInvoice photoWidth(java.lang.Integer photoWidth)
public SendInvoice photoHeight(java.lang.Integer photoHeight)
public SendInvoice needName(java.lang.Boolean needName)
public SendInvoice needName()
public SendInvoice needPhoneNumber(java.lang.Boolean needPhoneNumber)
public SendInvoice needPhoneNumber()
public SendInvoice needEmail(java.lang.Boolean needEmail)
public SendInvoice needEmail()
public SendInvoice needShippingAddress(java.lang.Boolean needShippingAddress)
public SendInvoice needShippingAddress()
public SendInvoice isFlexible(java.lang.Boolean isFlexible)
public SendInvoice isFlexible()
public SendInvoice disableNotification(java.lang.Boolean disableNotification)
public SendInvoice disableNotification()
public SendInvoice replyToMessage(java.lang.Long replyToMessageId)
public SendInvoice replyToMessage(Message message)
public SendInvoice replyMarkup(InlineKeyboardMarkup replyMarkup)
public java.lang.String getName()
TelegramMethodgetName in interface TelegramMethod<InvoiceMessage>public java.util.Map<java.lang.String,java.lang.Object> getParameters()
TelegramMethodgetParameters in interface TelegramMethod<InvoiceMessage>public java.lang.Class<? extends InvoiceMessage> getReturnType()
TelegramMethodgetReturnType in interface TelegramMethod<InvoiceMessage>