Skip to content

Commit

Permalink
add SetProfileData method to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagleft committed Feb 19, 2023
1 parent 6941540 commit 01ad4bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions v2/messenger.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ type Client interface {
// SetProfileStatus updates data about the status of the current account
SetProfileStatus(status string, mood string) error

// SetProfileData - update account name
SetProfileData(nick, firstName, lastName string) error

// GetOwnContact asks for full details of the current account
GetOwnContact() (structs.OwnContactData, error)

Expand Down

0 comments on commit 01ad4bf

Please sign in to comment.