Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
dynastymasra committed Jan 23, 2018
1 parent 3aed7e6 commit 1b031c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions request.go
Expand Up @@ -401,7 +401,7 @@ func (void *VoidResponse) SetUntilDate(date int64) *VoidResponse {
return void
}

// SetCanSendMessages Pass True, if the user can send text messages, contacts, locations and venues
// SetCanSendMessage Pass True, if the user can send text messages, contacts, locations and venues
func (void *VoidResponse) SetCanSendMessage(can bool) *VoidResponse {
body := JSON{
"can_send_messages": can,
Expand All @@ -411,7 +411,7 @@ func (void *VoidResponse) SetCanSendMessage(can bool) *VoidResponse {
return void
}

// SetCanSendMediaMessages Pass True, if the user can send audios, documents, photos, videos, video notes and voice notes,
// SetCanSendMediaMessage Pass True, if the user can send audios, documents, photos, videos, video notes and voice notes,
// implies can_send_messages
func (void *VoidResponse) SetCanSendMediaMessage(can bool) *VoidResponse {
body := JSON{
Expand All @@ -422,7 +422,7 @@ func (void *VoidResponse) SetCanSendMediaMessage(can bool) *VoidResponse {
return void
}

// SetCanOtherMessages Pass True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages
// SetCanSendOtherMessage Pass True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages
func (void *VoidResponse) SetCanSendOtherMessage(can bool) *VoidResponse {
body := JSON{
"can_send_other_messages": can,
Expand Down

0 comments on commit 1b031c2

Please sign in to comment.