Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 767 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 767 Bytes

telegrash

-U| [-c <config file>] [-k <API KEY>] [-T <chat id>] [-m <message>] [-t <title>] [-x <GPS longitude>] [-y <GPS latitude>] [-a <address>]

-U: Get and print the messages sent to the bot. If you set this option you can't send a message or position.

-c <config file>: File containing APIKEY=<string>

-k <API KEY>: Api key as returned by BotFather

-T <chat id>: Chat where send the message to. Can be a person or a group.

-m <message>: Send a simple plain text message to the chat

-t <title>: Title of the position you want to send

-x <GPS longitude>: Longitude of the position you want to send

-y <GPS latitude>: Latitude of the position you want to send

-a <address>: Adress of the position you want to send