import { MessageCreator } from './MessageCreator'; import { MessageCreatorTypes, SendTypes } from '../../types'; export declare class ChatTitle extends MessageCreator { readonly title: string; readonly chatId?: number | string; sendType: SendTypes; type: MessageCreatorTypes; /** * Set chat title * @param title Title you want to set for the chat * @param chatId Optional. Chat ID where you want to set chat title. It can be id of group/channel or ID of the user. Current chat id by default * @see https://core.telegram.org/bots/api#setchattitle * */ constructor(title: string, chatId?: number | string); }