This commit is contained in:
Ruben Bermudez 2018-04-01 12:40:58 +02:00
parent b057a98ada
commit 025be6eefd

View File

@ -397,6 +397,10 @@ public class Message implements BotApiObject {
return successfulPayment != null; return successfulPayment != null;
} }
public boolean hasContact() {
return contact != null;
}
public Invoice getInvoice() { public Invoice getInvoice() {
return invoice; return invoice;
} }