Merge branch 'antonu17-contact_getters' into dev
This commit is contained in:
commit
0ead56bac7
@ -47,6 +47,22 @@ public class Contact implements IBotApiObject {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getPhoneNumber() {
|
||||||
|
return phoneNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getFirstName() {
|
||||||
|
return firstName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLastName() {
|
||||||
|
return lastName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getUserID() {
|
||||||
|
return userID;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException {
|
public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException {
|
||||||
gen.writeStartObject();
|
gen.writeStartObject();
|
||||||
|
@ -118,10 +118,10 @@ public class InlineQueryResultCachedSticker implements InlineQueryResult {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "InlineQueryResultCachedGif{" +
|
return "InlineQueryResultCachedSticker{" +
|
||||||
"type='" + type + '\'' +
|
"type='" + type + '\'' +
|
||||||
", id='" + id + '\'' +
|
", id='" + id + '\'' +
|
||||||
", gifUrl='" + stickerFileId + '\'' +
|
", sticker_file_id='" + stickerFileId + '\'' +
|
||||||
", inputMessageContent='" + inputMessageContent + '\'' +
|
", inputMessageContent='" + inputMessageContent + '\'' +
|
||||||
", replyMarkup='" + replyMarkup + '\'' +
|
", replyMarkup='" + replyMarkup + '\'' +
|
||||||
'}';
|
'}';
|
||||||
|
Loading…
Reference in New Issue
Block a user