This commit is contained in:
Ruben Bermudez 2018-04-01 12:40:58 +02:00
parent b057a98ada
commit 025be6eefd
1 changed files with 4 additions and 0 deletions

View File

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