// SetGroupPhoto should be used to update group photo.
350683
func (b *Bot) SetGroupPhoto(chat *Chat, p *Photo) error {
	params := map[string]string{
		"chat_id": chat.Recipient(),
	}

	respJSON, err := b.sendFiles("setChatPhoto", map[string]File{"photo": p.File}, params)
	if err != nil {
		return err
	}

	return extractOkResponse(respJSON)
}
45514
func (s *NodeSnapshot) SetNodeGroupConfiguration(v *NodeGroupConfiguration) *NodeSnapshot {
	s.NodeGroupConfiguration = v
	return s
}
1245829
func (s *IpGroup) SetGroupDesc(v string) *IpGroup {
	s.GroupDesc = &v
	return s
}
395168
func (s *CreateOptionGroupOutput) SetOptionGroup(v *OptionGroup) *CreateOptionGroupOutput {
	s.OptionGroup = v
	return s
}
204751
func (s *GlobalTable) SetReplicationGroup(v []*Replica) *GlobalTable {
	s.ReplicationGroup = v
	return s
}
1048437
func (s *GetCostAndUsageInput) SetGroupBy(v []*GroupDefinition) *GetCostAndUsageInput {
	s.GroupBy = v
	return s
}
797658
func (c *Client) SetChatPhoto(chatID string, filename string) error {
	req := url.Values{}
	req.Set("chat_id", chatID)
	var updated bool
	return c.doRequestWithFiles("setChatPhoto", req, &updated, inputFile{field: "photo", name: filename})
}
945076
func (api *Client) SetGroupTopic(group, topic string) (string, error) {
	return api.SetGroupTopicContext(context.Background(), group, topic)
}
379071
func (s *StartTaskInput) SetGroup(v string) *StartTaskInput {
	s.Group = &v
	return s
}
1052108
func (s *DeleteGroupOutput) SetGroup(v *Group) *DeleteGroupOutput {
	s.Group = v
	return s
}
753813
func (s *CreateUserRequest) SetGroups(v []*string) *CreateUserRequest {
	s.Groups = v
	return s
}
783033
func (s *UpdateUserRequest) SetGroups(v []*string) *UpdateUserRequest {
	s.Groups = v
	return s
}
857033
func (s *BulkDeploymentResult) SetGroupArn(v string) *BulkDeploymentResult {
	s.GroupArn = &v
	return s
}
428104
func (s *Group) SetGroupArn(v string) *Group {
	s.GroupArn = &v
	return s
}
432141
func (s *UpdateGroupOutput) SetGroup(v *Group) *UpdateGroupOutput {
	s.Group = v
	return s
}
96898
func (s *DecreaseReplicaCountOutput) SetReplicationGroup(v *ReplicationGroup) *DecreaseReplicaCountOutput {
	s.ReplicationGroup = v
	return s
}
789171
func (s *Group) SetGroupARN(v string) *Group {
	s.GroupARN = &v
	return s
}