markdown

command
v1.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2020 License: MIT Imports: 3 Imported by: 0

README

Structures

Autogenerated from source code. Do not edit.

WikiPage

Wiki page. Experimental.

  • gentime (int64) — Object version.

  • updated (string) — Update time, iso.

  • editor (JID) — Last editor contact id.

  • text (string) — Page text.

Tag

Task tag.

  • uid (string) — Tag id.

  • name (string) — Tag name.

DeletedTag

Delete tag message.

  • uid (string) — Tag id.

SingleIcon

Small or large icon.

  • url (string) — absolute url to icon.

  • width (int) — Icon width, in pixels.

  • height (int) — Icon height, in pixels.

IconData

Icon data. Contains sm+lg (for uploaded image) OR stub+letters+color (for icon generated from display name).

  • sm (SingleIcon, nullable, omitempty) — Small icon.

  • lg (SingleIcon, nullable, omitempty) — Large image.

  • stub (string, omitempty) — Generated image with 1-2 letters.

  • letters (string, omitempty) — Letters from stub icon.

  • color (string, omitempty) — Stub icon background color.

Contact

Contact.

  • jid (JID) — Contact Id.

  • display_name (string) — Full name in chats.

  • short_name (string) — Short name in chats.

  • contact_email (string) — Contact email in this team.

  • contact_phone (string) — Contact phone in this team.

  • icons (IconData, nullable) — Icons data.

  • role (string) — Role in this team.

  • mood (string, omitempty) — Mood in this team.

  • status (TeamStatus) — Status in this team.

  • last_activity (string, nullable) — Last activity in this team (iso datetime).

  • add_to_team_rights (bool, omitempty) — Can contact add users to this team.

  • is_archive (bool, omitempty) — Contact deleted.

  • botname (string, omitempty) — Bot name. Empty for users.

  • sections (string, list) — Section ids.

  • can_send_message (bool, nullable, omitempty) — Can I send message to this contact.

  • cant_send_message_reason (string, omitempty) — Why I can't send message to this chat (if can't).

  • can_call (bool, nullable, omitempty) — Can I call to this contact.

  • can_create_task (bool, nullable, omitempty) — Can I call create task for this contact.

  • can_add_to_group (bool, nullable, omitempty) — Can I add this contact to group chats.

  • can_delete (bool, nullable, omitempty) — Can I remove this contact from team.

  • changeable_fields (string, nullable, list, omitempty) — Changeable fields.

  • family_name (string, nullable, omitempty) — Family name.

  • given_name (string, nullable, omitempty) — Given name.

  • patronymic (string, nullable, omitempty) — Patronymic, if any.

  • default_lang (string, nullable, omitempty) — Default language code.

  • debug_show_activity (bool, nullable, omitempty) — Enable debug messages in UI.

  • dropall_enabled (bool, nullable, omitempty) — Enable remove all messages experimental features.

  • alt_send (bool, nullable, omitempty) — Use Ctrl/Cmd + Enter insted Enter.

  • always_send_pushes (bool, nullable, omitempty) — Send push notifications even contact is online.

  • timezone (string, nullable, omitempty) — Timezone, if any.

  • quiet_time_start (string, nullable, omitempty) — Quiet time start.

  • quiet_time_finish (string, nullable, omitempty) — Quiet time finish.

  • group_notifications_enabled (bool, nullable, omitempty) — Push notifications for group chats.

  • task_notifications_enabled (bool, nullable, omitempty) — Push notifications for task chats.

  • contact_short_view (bool, nullable, omitempty) — Short view in contact list.

  • group_short_view (bool, nullable, omitempty) — Short view in group list.

  • task_short_view (bool, nullable, omitempty) — Short view in task list.

  • contact_mshort_view (bool, nullable, omitempty) — Short view in contact list in mobile app.

  • group_mshort_view (bool, nullable, omitempty) — Short view in group list in mobile app.

  • task_mshort_view (bool, nullable, omitempty) — Short view in task list in mobile app.

  • contact_show_archived (bool, nullable, omitempty) — Show archived contacts in contact list.

  • unread_first (bool, nullable, omitempty) — Show inread chats first in feed.

  • munread_first (bool, nullable, omitempty) — Show inread chats first in feed in mobile app.

  • can_add_to_team (bool, nullable, omitempty) — Can I add new members to this team.

  • can_manage_sections (bool, nullable, omitempty) — Can I manage sections in this team.

  • can_manage_tags (bool, nullable, omitempty) — Can I manage tags in this team.

  • can_manage_integrations (bool, nullable, omitempty) — Can I manage integrations in this team.

  • can_manage_color_rules (bool, nullable, omitempty) — Can I manage color rules in this team.

  • can_create_group (bool, nullable, omitempty) — Can I create group chats in this team.

  • can_join_public_groups (bool, nullable, omitempty) — Can I view/join public group in this team.

  • can_join_public_tasks (bool, nullable, omitempty) — Can I view/join public tasks in this team.

  • can_delete_any_message (bool, nullable, omitempty) — Deprecated: use CanDeleteAnyMessage in chat object.

  • custom_fields (ContactCustomFields, nullable, omitempty) — Extra contact fields.

ContactCustomFields

Extra contact fields.

  • company (string, omitempty) — Company.

  • department (string, omitempty) — Department.

  • title (string, omitempty) — Title.

  • mobile_phone (string, omitempty) — MobilePhone.

ContactShort

Short contact representaion.

  • jid (JID) — Contact Id.

  • display_name (string) — Full name in chats.

  • short_name (string) — Short name in chats.

  • icons (IconData, nullable) — Icons data.

Team

Team.

  • uid (string) — Team id.

  • is_archive (bool, omitempty) — Team deleted.

  • gentime (int64) — Object version.

  • name (string) — Team name.

  • default_task_deadline (string, omitempty) — Default task deadline.

  • max_message_update_age (int) — Max message update/deletion age, in seconds.

  • icons (IconData) — Team icons.

  • last_active (bool) — User last activity was in this team.

  • changeable_statuses (TeamStatus, list, omitempty) — What status I can set to other team mebers.

  • bad_profile (bool, omitempty) — My profile in this team isn't full.

  • need_confirmation (bool) — Neet confirmation after invite to this team.

  • use_patronymic (bool, omitempty) — Patronymic in usernames for this team.

  • user_fields (string, list) — Username fields ordering.

  • display_family_name_first (bool, omitempty) — Family name should be first in display name.

  • use_task_importance (bool, omitempty) — Use importance field in task.

  • task_importance_min (int, omitempty) — Minimal value of task imporance. Default is 1.

  • task_importance_max (int, omitempty) — Maximum value of task imporance. Default is 5.

  • task_importance_rev (bool, omitempty) — Bigger number = bigger importance. Default: lower number = bigger importance.

  • use_task_urgency (bool, omitempty) — Use urgency field in task.

  • use_task_complexity (bool, omitempty) — Use complexity field in task.

  • use_task_spent_time (bool, omitempty) — Use spent time field in task.

  • uploads_size (int64, omitempty) — Total uploads size, bytes.

  • uploads_size_limit (int64, omitempty) — Maximum uploads size, bytes, if any.

  • unread (TeamUnread, nullable) — Unread message counters.

  • me (Contact, omitempty) — My profile in this team.

  • contacts (Contact, list, omitempty) — Team contacts. Used only for team creation.

  • single_group (JID, nullable, omitempty) — For single group teams, jid of chat.

  • theme (Theme, nullable, omitempty) — Color theme, if any.

  • hide_archived_users (bool, omitempty) — Don't show archived users by default.

TeamShort

Short team representation. For invites, push notifications, etc.

  • uid (string) — Team id.

  • name (string) — Team name.

  • icons (IconData) — Team icons.

DeletedTeam

Team deletion message.

  • uid (string) — Team id.

  • is_archive (bool) — Team deleted.

  • gentime (int64) — Object version.

ChatShort

Mimimal chat representaion.

  • jid (JID) — Group/Task/Contact id.

  • chat_type (ChatType) — Chat type.

  • display_name (string) — Title.

  • icons (IconData, nullable) — Icon data.

DeletedChat

Mimimal chat representaion for deletion.

  • jid (JID) — Group/Task/Contact id.

  • chat_type (ChatType) — Chat type.

  • gentime (int64) — Chat fields (related to concrete participan) version.

  • is_archive (bool) — Archive flag. Always true for this structure.

Chat

Chat (direct, group, task) representaion.

  • jid (JID) — Group/Task/Contact id.

  • chat_type (ChatType) — Chat type.

  • base_gentime (int64, omitempty) — Base fields (not related to concrete participant) version.

  • gentime (int64) — Chat fields related to concrete participan) version.

  • created (string) — Creation date, iso datetime.

  • display_name (string) — Title.

  • icons (IconData, nullable) — Icons info.

  • counters_enabled (bool, omitempty) — Include unread messages to counters.

  • can_call (bool, omitempty) — Can I call to this chat.

  • can_send_message (bool, omitempty) — Can I send message to this chat.

  • cant_send_message_reason (string, omitempty) — Why I can't send message to this chat (if can't).

  • collapsed (bool, omitempty) — Description collapsed. Used for tasks only.

  • draft (string, omitempty) — Last message draft, if any.

  • draft_num (int64, omitempty) — Last message draft version , if any.

  • hidden (bool, omitempty) — Hidden chat.

  • notifications_enabled (bool, omitempty) — Push notifications enabled.

  • num_importants (int, omitempty) — Number of importants messages.

  • num_unread (uint, omitempty) — Unreads conuter.

  • num_unread_notices (uint, omitempty) — Mentions (@) counter.

  • last_message (Message, nullable, omitempty) — Last message object.

  • last_read_message_id (string, omitempty) — Last read message id, if any.

  • section (string, omitempty) — Project / section id, if any.

  • changeable_fields (string, list, omitempty) — List of editable fields.

  • pinned (bool, omitempty) — Is chat pinned on top.

  • pinned_sort_ordering (int, omitempty) — Sort oreding for pinned chat.

  • num_members (uint, nullable, omitempty) — Non-archive participants number.

  • can_delete (bool, omitempty) — Can I delete this chat.

  • description (string, omitempty) — Group or task description.

  • feed (bool, omitempty) — Present in feed (main screen).

  • pinned_message (Message, nullable, omitempty) — Pinned message for this chat.

  • color_index (uint16, nullable, omitempty) — Custom color index from table of colors. Tasks only.

  • num_items (uint, nullable, omitempty) — Items in checklist. Tasks only.

  • num_checked_items (uint, nullable, omitempty) — Checked items in checklist. Tasks only.

  • assignee (JID, nullable, omitempty) — Assignee contact id. Tasks only.

  • num (uint, omitempty) — Task number in this team.

  • observers (JID, nullable, list, omitempty) — Task observers id's.

  • owner (JID, nullable, omitempty) — Task creator.

  • task_status (string, omitempty) — Task status. May be custom.

  • title (string, omitempty) — Task title. Generated from number and description.

  • done (string, omitempty) — Task done date in iso format, if any.

  • done_reason (string, omitempty) — Task done reason, if any.

  • deadline (string, omitempty) — Task deadline in iso format, if any.

  • deadline_expired (bool, omitempty) — Is task deadline expired.

  • links (MessageLinks, omitempty) — Links in description.

  • tags (string, list, omitempty) — Task tags list, if any.

  • importance (int, nullable, omitempty) — Task importance, if available in team.

  • urgency (int, nullable, omitempty) — Task urgency, if available in team.

  • spent_time (int, nullable, omitempty) — Task spent time, number.

  • complexity (int, nullable, omitempty) — Task complexity, number.

  • linked_messages (interface{}, list, omitempty) — Used for "Create task from messages...".

  • items (TaskItem, list, omitempty) — Checklist items. Task only.

  • parents (Subtask, list, omitempty) — Parent tasks.

  • tabs (TaskTabKey, nullable, list, omitempty) — Tab names.

  • status (GroupStatus, omitempty) — My status in group chat.

  • members (GroupMembership, list, omitempty) — Group chat members.

  • can_add_member (bool, omitempty) — Can I add member to this group chat.

  • can_remove_member (bool, omitempty) — Can I remove member from this group chat.

  • can_change_member_status (bool, omitempty) — Can I change member status in this group chat.

  • can_change_settings (bool, omitempty) — deprecated: use changeable fields.

  • default_for_all (bool, omitempty) — Any new team member will be added to this group chat.

  • readonly_for_members (bool, omitempty) — Readonly for non-admins group chat (Like Channels in Telegram bug switchable).

  • autocleanup_age (int, nullable, omitempty) — Delete messages in this chat in seconds. Experemental function.

  • public (bool, omitempty) — Can other team member see this task/group chat.

  • can_join (bool, omitempty) — Can I join to this public group/task.

  • can_delete_any_message (bool, nullable, omitempty) — Can I delete any message in this chat.

  • can_set_important_any_message (bool, nullable, omitempty) — Can I change Important flag in any message in this chat.

Subtask

Link to sub/sup task.

  • jid (JID) — Task id.

  • assignee (JID) — Assignee contact id. Tasks only.

  • title (string) — Task title. Generated from number and description.

  • num (uint) — Task number in this team.

  • display_name (string) — Title.

  • public (bool, omitempty) — Can other team member see this task/group chat.

TaskItem

Task checklist item.

  • uid (string, omitempty) — Id.

  • sort_ordering (uint, omitempty) — Sort ordering.

  • text (string) — Text or "#{OtherTaskNumber}".

  • checked (bool, omitempty) — Item checked.

  • can_toggle (bool, omitempty) — Can I toggle this item.

  • subtask (Subtask, nullable, omitempty) — Link to subtask. Optional.

GroupMembership

Group chat membership status.

  • jid (JID) — Contact id.

  • status (GroupStatus) — Status in group.

  • can_remove (bool, omitempty) — Can I remove this member.

Features

{hostname}/features.js / {hostname}/features.json structure.

  • host (string) — Current host.

  • build (string) — Build/revision of server side.

  • desktop_version (string) — Desktop application version.

  • front_version (string) — Webclient version.

  • app_title (string) — Application title.

  • userver (string) — Static files server address.

  • ios_app (string) — Link to AppStore.

  • android_app (string) — Link to Google Play.

  • theme (string) — Default UI theme.

  • min_app_version (string) — Minimal application version required for this server. Used for breaking changes.

  • free_registration (bool) — Free registration allowed.

  • max_upload_mb (int) — Maximum size of user's upload.

  • max_linked_messages (int) — Maximum number of forwarded messages.

  • max_username_part_length (int) — Maximum chars for: family_name, given_name, patronymic if any.

  • max_group_title_length (int) — Maximum chars for group chat name.

  • max_role_length (int) — Maximum chars for role in team.

  • max_mood_length (int) — Maximum chars for mood in team.

  • max_message_length (int) — Maximum chars for text message.

  • max_section_length (int) — Maximum length for project and contact's sections names.

  • max_tag_length (int) — Maximum length for tags.

  • max_task_title_length (int) — Maximum length for task title.

  • max_teams (int) — Maximum teams for one account.

  • afk_age (int) — Max inactivity seconds.

  • auth_by_password (bool, omitempty) — Password authentication enabled.

  • auth_by_qr_code (bool, omitempty) — QR-code / link authentication enabled.

  • auth_by_sms (bool, omitempty) — SMS authentication enabled.

  • ice_servers (ICEServer, list) — ICE servers for WebRTC.

  • custom_server (bool) — True for onpremise installation.

  • installation_type (string) — Name of instalation.

  • is_testing (bool) — Testing installation.

  • metrika (string) — Yandex metrika counter id.

  • min_search_length (int) — Minimal chars number for starting global search.

  • resend_timeout (int) — Resend message in n seconds if no confirmation from server given.

  • sentry_dsn_js (string) — Frontent sentry.io settings.

  • server_drafts (bool) — Message drafts saved on server.

  • firebase_app_id (string) — Firebase application id for web-push notifacations.

  • firebase_sender_id (string) — Firebase sender id for web-push notifacations.

  • calls (bool) — Calls functions enabled.

  • mobile_calls (bool) — Calls functions enabled for mobile applications.

  • calls_record (bool) — Calls record enabled.

  • only_one_device_per_call (bool, omitempty) — Disallow call from multiply devices. Experimental.

  • max_participants_per_call (int, omitempty) — Maximum number of participants per call.

  • safari_push_id (string) — Safari push id for web-push notifacations.

  • terms (Terms) — Team entity naming. Experimental.

  • single_group_teams (bool) — Cross team communication. Experimental.

  • wiki_pages (bool) — Wiki pages in chats. Experimental.

  • allow_admin_mute (bool, omitempty) — Wiki pages in chats. Experimental.

  • task_checklist (bool) — Deprecated.

  • readonly_groups (bool) — Deprecated.

  • task_dashboard (bool) — Deprecated.

  • task_messages (bool) — Deprecated.

  • task_public (bool) — Deprecated.

  • task_tags (bool) — Deprecated.

ICEServer

Interactive Connectivity Establishment Server for WEB Rtc connection.

  • urls (string) — URls.

Terms

Exprtimental translation fields for "team" entity renaming.

  • EnInTeam (string) — EnInTeam.

  • EnTeam (string) — EnTeam.

  • EnTeamAccess (string) — EnTeamAccess.

  • EnTeamAdmin (string) — EnTeamAdmin.

  • EnTeamAdmins (string) — EnTeamAdmins.

  • EnTeamGuest (string) — EnTeamGuest.

  • EnTeamMember (string) — EnTeamMember.

  • EnTeamMembers (string) — EnTeamMembers.

  • EnTeamOwner (string) — EnTeamOwner.

  • EnTeamSettings (string) — EnTeamSettings.

  • RuTeamSettings (string) — RuTeamSettings.

  • EnTeams (string) — EnTeams.

  • EnToTeam (string) — EnToTeam.

  • RuInTeam (string) — RuInTeam.

  • RuTeam (string) — RuTeam.

  • RuTeamAccess (string) — RuTeamAccess.

  • RuTeamAdmin (string) — RuTeamAdmin.

  • RuTeamAdmins (string) — RuTeamAdmins.

  • RuTeamD (string) — RuTeamD.

  • RuTeamGuest (string) — RuTeamGuest.

  • RuTeamMember (string) — RuTeamMember.

  • RuTeamMembers (string) — RuTeamMembers.

  • RuTeamOwner (string) — RuTeamOwner.

  • RuTeamP (string) — RuTeamP.

  • RuTeamR (string) — RuTeamR.

  • RuTeams (string) — RuTeams.

  • RuTeamsD (string) — RuTeamsD.

  • RuTeamsP (string) — RuTeamsP.

  • RuTeamsR (string) — RuTeamsR.

  • RuTeamsT (string) — RuTeamsT.

  • RuTeamsV (string) — RuTeamsV.

  • RuTeamT (string) — RuTeamT.

  • RuTeamV (string) — RuTeamV.

  • RuToTeam (string) — RuToTeam.

MessageContent

Chat message content.

  • text (string) — Text repesentation of message.

  • type (Mediatype) — Message type.

  • subtype (Mediasubtype, omitempty) — Message subtype, if any.

  • upload (string, omitempty) — Upload id, if any.

  • mediaURL (string, omitempty) — Upload url, if any.

  • size (int, omitempty) — Upload size, if any.

  • duration (uint, nullable, omitempty) — Upload duration, if any.

  • processing (bool, omitempty) — Upload stil processing, if any.

  • previewHeight (int, omitempty) — Upload preview height, in pixels, if any.

  • previewWidth (int, omitempty) — Upload width, in pixels, if any.

  • previewURL (string, omitempty) — Upload preview absolute url, if any.

  • preview2xURL (string, omitempty) — Upload high resolution preview absolute url, if any.

  • name (string, omitempty) — Upload name, if any.

  • animated (bool, omitempty) — Upload is animated image, if any.

  • title (string, omitempty) — Change title (for "change" mediatype).

  • old (string, nullable, omitempty) — Change old value (for "change" mediatype).

  • new (string, nullable, omitempty) — Change new value (for "change" mediatype).

  • actor (JID, nullable, omitempty) — Change actor contact id (for "change" mediatype).

  • comment (string, omitempty) — Comment. For audimessage.

  • given_name (string, nullable, omitempty) — Given name (for "contact" mediatype).

  • family_name (string, nullable, omitempty) — Family name (for "contact" mediatype).

  • patronymic (string, nullable, omitempty) — Patronymic name (for "contact" mediatype).

  • phones (string, nullable, list, omitempty) — Contact phones list (for "contact" mediatype).

  • emails (string, nullable, list, omitempty) — Emails list (for "contact" mediatype).

  • stickerpack (string, omitempty) — Stickerpack name (for "sticker" subtype).

  • pdf_version (PdfVersion, nullable, omitempty) — Pdf version, if any.

Message

Chat message.

  • content (MessageContent) — Message content struct.

  • push_text (string, omitempty) — Simple plaintext message representation.

  • from (JID) — Sender contact id.

  • to (JID) — Recipient jid.

  • message_id (string) — Message uid.

  • created (string) — Message creation datetime (set by server side).

  • gentime (int64) — Object version.

  • chat_type (ChatType) — Chat type.

  • chat (JID, omitempty) — chat jid.

  • links (MessageLinks, omitempty) — external/internals links.

  • important (bool, omitempty) — importance flag.

  • edited (string, omitempty) — datetime of message modification or deletion.

  • received (bool, omitempty) — message was seen by anybody in chat. True or null.

  • num_received (int, omitempty) — unused yet.

  • nopreview (bool, omitempty) — disable link previews. True or null.

  • has_previews (bool, omitempty) — has link previews. True or null.

  • prev (string, omitempty) — previous message id in this chat. Uid or null.

  • is_first (bool, omitempty) — this message is first in this chat. True or null.

  • is_last (bool, omitempty) — this message is first in this chat. True or null.

  • reactions (MessageReaction, list, omitempty) — message reactions struct. Can be null.

  • reply_to (Message, nullable, omitempty) — message that was replied to, if any.

  • linked_messages (Message, list, omitempty) — forwarded messages. Can be null. Also contains double of ReplyTo for backward compatibility.

  • notice (bool, omitempty) — has mention (@). True or null.

  • silently (bool, omitempty) — message has no pushes and did not affect any counters.

  • editable_until (string, omitempty) — author can change this message until date. Can be null.

  • num (int, nullable, omitempty) — index number of this message. Starts from 0. Null for deleted messages. Changes when any previous message wad deleted.

  • _debug (string, omitempty) — debug information if any.

MessageLinkPreview

Website title and description.

  • title (string) — Website title or og:title content.

  • description (string, omitempty) — Website description.

Checked message links. In short: "Click here: {link.Pattern}" => "Click here: {link.Text}".

  • pattern (string) — Text fragment that should be replaced by link.

  • url (string) — Internal (tadateam://) or external link.

  • text (string) — Text replacement.

  • preview (MessageLinkPreview, nullable, omitempty) — Optional preview info, for websites.

  • uploads (Upload, list, omitempty) — Optional upload info.

  • nopreview (bool, omitempty) — Website previews disabled.

  • youtube_id (string, omitempty) — Optional youtube movie id.

MessageReaction

Message emoji reaction.

  • name (string) — Emoji.

  • counter (int) — Number of reactions.

  • details (MessageReactionDetail, list) — Details.

MessageReactionDetail

Message reaction detail.

  • created (string) — When reaction added, iso datetime.

  • sender (JID) — Reaction author.

  • name (string) — Reaction emoji.

TaskColor

Task color rules color.

  • regular (string) — Regular.

  • dark (string) — Dark.

  • light (string) — Light.

PdfVersion

PDF preview of mediafile. Experimental.

  • url (string) — Absolute url.

  • text_preview (string, omitempty) — First string of text content.

Remind

Remind.

  • uid (string) — Remind id.

  • chat (JID) — Chat id.

  • fire_at (string) — Activation time, iso.

  • comment (string, omitempty) — Comment, if any.

DeletedRemind

Remind deleted message.

  • uid (string) — Remind id.

Unread

Unread message counters.

  • messages (uint) — Total unread messages.

  • notice_messages (uint) — Total unread messages with mentions.

  • chats (uint) — Total chats with unread messages.

TeamCounter

Unread message counters.

  • uid (string) — Team id.

  • unread (TeamUnread) — Unread message counters.

CallEvent

Audiocall information.

  • start (string, nullable) — Call start, iso date.

  • finish (string, nullable) — Call finish, iso date.

  • audiorecord (bool) — Call record enabled.

  • onliners (CallOnliner, list) — Call members.

CallOnliner

Call participant.

  • jid (JID) — Contact id.

  • display_name (string) — Contact name.

  • icon (string) — Contact icon.

  • muted (bool) — Microphone muted. Computed from devices muted states.

  • devices (CallDevice, list) — Member devices, strictly one for now.

CallDevice

Call participant device.

  • muted (bool) — Device muted.

  • useragent (string) — Device description.

Theme

Color theme.

  • BgColor (string) — BgColor.

  • BgHoverColor (string) — BgHoverColor.

  • TextColor (string) — TextColor.

  • MutedTextColor (string) — MutedTextColor.

  • AccentColor (string) — AccentColor.

  • AccentHoverColor (string) — AccentHoverColor.

  • TextOnAccentHoverColor (string) — TextOnAccentHoverColor.

  • MainAccent (string) — MainAccent.

  • MainAccentHover (string) — MainAccentHover.

  • MainLightAccent (string) — MainLightAccent.

  • MainLink (string) — MainLink.

  • AppAccentColor (string) — AppAccentColor.

  • AppPrimaryColor (string) — AppPrimaryColor.

Upload

Uploaded media.

  • uid (string) — Upload id.

  • size (int) — Upload size in bytes.

  • duration (uint, omitempty) — Mediafile duration (for audio/video only).

  • name (string) — Filename.

  • url (string) — Absolute url.

  • preview (UploadPreview, nullable, omitempty) — Preview details.

  • content_type (string) — Content type.

  • animated (bool, omitempty) — Is animated (images only).

  • processing (bool, omitempty) — File still processing (video only).

  • pdf_version (PdfVersion, nullable, omitempty) — PDF version of file. Experimental.

UploadPreview

Upload preview.

  • url (string) — Absolute url to image.

  • url_2x (string) — Absolute url to high resolution image (retina).

  • width (int) — Width in pixels.

  • height (int) — Height in pixels.

TaskStatus

Custom task status.

  • uid (string, omitempty) — Status id.

  • sort_ordering (uint) — Status sort ordering.

  • name (string) — Status internal name.

  • title (string) — Status localized name.

  • is_archive (bool, omitempty) — Status not used anymore.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL