teamwire_api.permissions¶
Permissions¶
class Permissions(object)
The Permissions class exposes the permissions and settings set for SDK clients in the App Settings panel of the Teamwire Administration dashboard.
Attributes
attachments_allowed
: boolean. Whether sending attachments is allowedcalendar_attachments_allowed
: boolean. Whether sending calendar attachments is allowedlocation_attachments_allowed
: boolean. Whether sending location attachments is allowedsound_attachments_allowed
: boolean. Whether sending sound attachments is allowedpicture_attachments_allowed
: boolean. Whether sending picture attachments is allowedvideo_attachments_allowed
: boolean. Whether sending video attachments is allowedpoll_attachments_allowed
: boolean. Whether sending poll attachments is allowedfile_attachments_allowed
: boolean. Whether sending file attachments is allowedediting_members_allowed
: boolean. Whether adding or removing chat members is allowedleave_chat_allowed
: boolean. Whether leaving a chat is allowedclose_chats_allowed
: boolean. Whether closing a chat is allowedalerting_enabled
: boolean. Whether creating alert chats or sending alert messages is allowedretention_period
: integer or None. If not None, the maximum messages retention period in daysnotification_preview_allowed
: boolean. Whether a message preview should be included in notificationsdisable_read_receipts_allowed
: boolean. Whether the bot can disable sending read-receipts notifications to other clientsmax_chat_members
: integer. Maximum number of allowed members for new chats (default: 2500)