0.3.1 • Published 5 years ago

@ts-module-for-gas/gas-workplace v0.3.1

Weekly downloads
13
License
ISC
Repository
github
Last release
5 years ago

GAS-Workplace

Workplace module for GAS that written by TypeScript

Usage

import {Workplace, Post } from '@ts-module-for-gas/gas-workplace';

const workplacebot = new Workplace.Bot(PropertiesService.getScriptProperties().getProperty('WORKPLACE_BOT_TOKEN') as string);
const group_id = PropertiesService.getScriptProperties().getProperty('WORKPLACE_GROUP_ID') as string;
const thread_key = PropertiesService.getScriptProperties().getProperty('WORKPLACE_THREAD_KEY') as string;

function test_Bot_post() {
    const post = workplacebot.post(group_id, "This is submitted by bot!",'https://google.com/');
    const res = workplacebot.chat(thread_key, "You've got a message!")
};
0.3.1

5 years ago

0.3.0

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago