Closes #364
This commit is contained in:
parent
b057a98ada
commit
025be6eefd
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user