pub struct GroupRoleUpdate {
pub can_read_chat: Option<bool>,
pub can_write_chat: Option<bool>,
pub counts_towards_seats: Option<bool>,
pub force_two_factor_auth: Option<bool>,
pub grow_path_id: Option<Option<i64>>,
pub html_template_ids: Option<Vec<i64>>,
pub is_active: Option<bool>,
pub receive_qr_code: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Change only the supplied settings for a role in one group; omitted fields retain their current values.
Fields§
§can_read_chat: Option<bool>Allow members in this role to read the group chat.
can_write_chat: Option<bool>Allow members in this role to write in the group chat.
counts_towards_seats: Option<bool>Count memberships in this role towards the group’s participant capacity.
force_two_factor_auth: Option<bool>Require members in this role to use two-factor authentication.
grow_path_id: Option<Option<i64>>Set the growth-path association for this role in this group. Send null to clear it; omit the field to keep the current value.
None leaves the field out, Some(None) sends null.
html_template_ids: Option<Vec<i64>>Replace the list of HTML templates available for membership documents in this role. Send an empty array to clear the list; null is not accepted. Newly added templates must support group membership documents.
is_active: Option<bool>Enable or disable this role in the group. The default role cannot be deactivated. This does not set the membership status of individual people.
receive_qr_code: Option<bool>Enable check-in QR codes for members in this role.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.