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
|
||||
public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException {
|
||||
gen.writeStartObject();
|
||||
|
@ -118,10 +118,10 @@ public class InlineQueryResultCachedSticker implements InlineQueryResult {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "InlineQueryResultCachedGif{" +
|
||||
return "InlineQueryResultCachedSticker{" +
|
||||
"type='" + type + '\'' +
|
||||
", id='" + id + '\'' +
|
||||
", gifUrl='" + stickerFileId + '\'' +
|
||||
", sticker_file_id='" + stickerFileId + '\'' +
|
||||
", inputMessageContent='" + inputMessageContent + '\'' +
|
||||
", replyMarkup='" + replyMarkup + '\'' +
|
||||
'}';
|
||||
|
Loading…
Reference in New Issue
Block a user