Skip to content

Commit

Permalink
Added status text and emoji to Profile object (#44)
Browse files Browse the repository at this point in the history
Added status text and status emoji to Profile object as per
https://api.slack.com/docs/presence-and-status
  • Loading branch information
JoshuaRedmond authored and ramswaroop committed May 23, 2017
1 parent b2083d8 commit 93a04c3
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public class Profile {
private String image72;
private String image192;
private String image512;
@JsonProperty("status_text")
private String statusText;
@JsonProperty("status_emoji")
private String statusEmoji;

public String getFirstName() {
return firstName;
Expand Down Expand Up @@ -119,4 +123,20 @@ public String getImage512() {
public void setImage512(String image512) {
this.image512 = image512;
}

public String getStatusText() {
return statusText;
}

public void setStatusText(String statusText) {
this.statusText = statusText;
}

public String getStatusEmoji() {
return statusEmoji;
}

public void setStatusEmoji(String statusEmoji) {
this.statusEmoji = statusEmoji;
}
}

0 comments on commit 93a04c3

Please sign in to comment.