description:'Unique identifier for the target chat or username of the target<br />channel (in the format @channelusername). To find your chat id ask @get_id_bot.',
description:'Audio file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended)<br />or pass an HTTP URL for Telegram to get a file from the Internet.',
},
// ----------------------------------
// message:sendChatAction
// ----------------------------------
{
displayName:'Action',
name:'action',
type:'options',
displayOptions:{
show:{
operation:[
'sendChatAction'
],
resource:[
'message',
],
},
},
options:[
{
name:'Find Location',
value:'find_location',
},
{
name:'Record Audio',
value:'record_audio',
},
{
name:'Record Video',
value:'record_video',
},
{
name:'Record Video Note',
value:'record_video_note',
},
{
name:'Typing',
value:'typing',
},
{
name:'Upload Audio',
value:'upload_audio',
},
{
name:'Upload Document',
value:'upload_document',
},
{
name:'Upload Photo',
value:'upload_photo',
},
{
name:'Upload Video',
value:'upload_video',
},
{
name:'Upload Video Note',
value:'upload_video_note',
},
],
default:'typing',
description:'Type of action to broadcast. Choose one, depending on what the user is about to receive.<br />The status is set for 5 seconds or less (when a message arrives from your bot).',
},
// ----------------------------------
// message:sendDocument
// ----------------------------------
{
displayName:'Document',
name:'file',
type:'string',
default:'',
displayOptions:{
show:{
operation:[
'sendDocument'
],
resource:[
'message',
],
},
},
description:'Document to send. Pass a file_id to send a file that exists on the Telegram servers (recommended)<br />or pass an HTTP URL for Telegram to get a file from the Internet.',
description:'Media to send. Pass a file_id to send a file that exists on the Telegram servers (recommended)<br />or pass an HTTP URL for Telegram to get a file from the Internet.',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
default:{},
options:[
{
displayName:'Caption',
name:'caption',
type:'string',
typeOptions:{
alwaysOpenEditWindow: true,
},
default:'',
description:'Caption text to set, 0-1024 characters.',
description:'Photo to send. Pass a file_id to send a photo that exists on the Telegram servers (recommended)<br />or pass an HTTP URL for Telegram to get a photo from the Internet.',
},
// ----------------------------------
// message:sendSticker
// ----------------------------------
{
displayName:'Sticker',
name:'file',
type:'string',
default:'',
displayOptions:{
show:{
operation:[
'sendSticker'
],
resource:[
'message',
],
},
},
description:'Sticker to send. Pass a file_id to send a file that exists on the Telegram servers (recommended)<br />or pass an HTTP URL for Telegram to get a .webp file from the Internet.',
},
// ----------------------------------
// message:sendVideo
// ----------------------------------
{
displayName:'Video',
name:'file',
type:'string',
default:'',
displayOptions:{
show:{
operation:[
'sendVideo'
],
resource:[
'message',
],
},
},
description:'Video file to send. Pass a file_id to send a file that exists on the Telegram servers (recommended)<br />or pass an HTTP URL for Telegram to get a file from the Internet.',
description:'Shows reply interface to the user, as if they manually selected the bot‘s message and tapped ’Reply.',
},
{
displayName:'Selective',
name:'selective',
type:'boolean',
default:false,
description:' Use this parameter if you want to force reply from specific users only.',
},
],
},
{
displayName:'Inline Keyboard',
name:'inlineKeyboard',
placeholder:'Add Keyboard Row',
description:'Adds an inline keyboard that appears right next to the message it belongs to.',
type:'fixedCollection',
typeOptions:{
multipleValues: true,
},
displayOptions:{
show:{
replyMarkup:[
'inlineKeyboard',
],
resource:[
'message',
],
},
},
default:{},
options:[
{
displayName:'Rows',
name:'rows',
values:[
{
displayName:'Row',
name:'row',
type:'fixedCollection',
description:'The value to set.',
placeholder:'Add Button',
typeOptions:{
multipleValues: true,
},
default:{},
options:[
{
displayName:'Buttons',
name:'buttons',
values:[
{
displayName:'Text',
name:'text',
type:'string',
default:'',
description:'Label text on the button.',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
default:{},
options:[
{
displayName:'Callback Data',
name:'callback_data',
type:'string',
default:'',
description:'Data to be sent in a callback query to the bot when button is pressed, 1-64 bytes.',
},
{
displayName:'Pay',
name:'pay',
type:'boolean',
default:false,
description:'Specify True, to send a Pay button.',
},
{
displayName:'Switch Inline Query Current Chat',
name:'switch_inline_query_current_chat',
type:'string',
default:'',
description:'If set, pressing the button will insert the bot‘s username and the specified<br />inline query in the current chat\'s input field.Can be empty, in which case only the<br />bot’s username will be inserted.',
},
{
displayName:'Switch Inline Query',
name:'switch_inline_query',
type:'string',
default:'',
description:'If set, pressing the button will prompt the user to select one of their chats<br />, open that chat and insert the bot‘s username and the specified inline query in the<br />input field. Can be empty, in which case just the bot’s username will be inserted.',
},
{
displayName:'URL',
name:'url',
type:'string',
default:'',
description:'HTTP or tg:// url to be opened when button is pressed.',
},
],
},
],
},
],
},
],
},
],
},
{
displayName:'Reply Keyboard',
name:'replyKeyboard',
placeholder:'Add Reply Keyboard Row',
description:'Adds a custom keyboard with reply options.',
type:'fixedCollection',
typeOptions:{
multipleValues: true,
},
displayOptions:{
show:{
replyMarkup:[
'replyKeyboard',
],
},
},
default:{},
options:[
{
displayName:'Rows',
name:'rows',
values:[
{
displayName:'Row',
name:'row',
type:'fixedCollection',
description:'The value to set.',
placeholder:'Add Button',
typeOptions:{
multipleValues: true,
},
default:{},
options:[
{
displayName:'Buttons',
name:'buttons',
values:[
{
displayName:'Text',
name:'text',
type:'string',
default:'',
description:'Text of the button. If none of the optional fields are used, it will be sent as a message when the button is pressed.',
},
{
displayName:'Additional Fields',
name:'additionalFields',
type:'collection',
placeholder:'Add Field',
default:{},
options:[
{
displayName:'Request Contact',
name:'request_contact',
type:'boolean',
default:false,
description:'If True, the user\'s phone number will be sent as a contact when the button is pressed.Available in private chats only.',
},
{
displayName:'Request Location',
name:'request_location',
type:'boolean',
default:false,
description:'If True, the user\'s request_location.',
},
],
},
],
},
],
},
],
},
],
},
{
displayName:'Reply Keyboard Options',
name:'replyKeyboardOptions',
type:'collection',
placeholder:'Add Option',
displayOptions:{
show:{
replyMarkup:[
'replyKeyboard',
],
},
},
default:{},
options:[
{
displayName:'Resize Keyboard',
name:'resize_keyboard',
type:'boolean',
default:false,
description:'Requests clients to resize the keyboard vertically for optimal fit.',
},
{
displayName:'One Time Keyboard',
name:'one_time_keyboard',
type:'boolean',
default:false,
description:'Requests clients to hide the keyboard as soon as it\'s been used.',
},
{
displayName:'Selective',
name:'selective',
type:'boolean',
default:false,
description:'Use this parameter if you want to show the keyboard to specific users only.',
},
],
},
{
displayName:'Reply Keyboard Remove',
name:'replyKeyboardRemove',
type:'collection',
placeholder:'Add Field',
displayOptions:{
show:{
replyMarkup:[
'replyKeyboardRemove',
],
},
},
default:{},
options:[
{
displayName:'Remove Keyboard',
name:'remove_keyboard',
type:'boolean',
default:false,
description:'Requests clients to remove the custom keyboard.',
},
{
displayName:'Selective',
name:'selective',
type:'boolean',
default:false,
description:' Use this parameter if you want to force reply from specific users only.',
description:'If the message is a reply, ID of the original message.',
},
{
displayName:'Title',
name:'title',
type:'string',
typeOptions:{
alwaysOpenEditWindow: true,
},
displayOptions:{
show:{
'/operation':[
'sendAudio',
],
},
},
default:'',
description:'Title of the track.',
},
{
displayName:'Thumbnail',
name:'thumb',
type:'string',
displayOptions:{
show:{
'/operation':[
'sendAudio',
'sendDocument',
'sendVideo',
],
},
},
default:'',
description:'Thumbnail of the file sent; can be ignored if thumbnail generation<br />for the file is supported server-side. The thumbnail should be in<br />JPEG format and less than 200 kB in size. A thumbnail‘s<br />width and height should not exceed 320.',