cb10-sdk
Version:
Cybozu Office 10 SDK for Node.js
58 lines (57 loc) • 1.17 kB
TypeScript
/**
* サポートされているエンコーディングタイプ
*
* @enum {string}
*/
export declare enum Encoding {
/**
* UTF-8エンコーディング
*/
UTF_8 = "utf-8",
/**
* Shift-JISエンコーディング
*/
SHIFT_JIS = "Shift_JIS"
}
/**
* メッセージ編集モード
*
* @enum {number}
*/
export declare enum MessageEditMode {
/**
* プレーンテキストモード
*/
TEXT = 0,
/**
* リッチテキスト(HTML)モード
*/
HTML = 1
}
/**
* コンテンツタイプの定義
*
* @constant {Object}
*/
export declare const ContentType: {
/**
* application/x-www-form-urlencoded
* HTMLフォームのデフォルトのコンテンツタイプ
*/
readonly FORM_URLENCODED: "application/x-www-form-urlencoded";
};
/**
* デフォルト設定値の定義
*
* @constant {Object}
*/
export declare const Defaults: {
/**
* デフォルトのグループ名
*/
readonly GROUP_NAME: "サイボウズ Bot";
};
/**
* リアクションのタイプを定義する型
*/
export type ReactionType = 'good' | 'ok' | 'smile' | 'sad' | '';