howsmydriving-twitter
Version:
Twitter abstraction for @HowsMyDrivingWA.
12 lines (11 loc) • 414 B
TypeScript
/// <reference types="@types/twit" />
import * as AWS from 'aws-sdk';
import * as Twit from 'twit';
export declare const tableNames: {
[tabletype: string]: string;
};
export declare function processNewTweets(T: Twit, docClient: AWS.DynamoDB.DocumentClient, bot_app_id: number): Promise<void>;
export declare function chompTweet(tweet: Twit.Twitter.Status): {
chomped: boolean;
chomped_text: string;
};