Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/omani/telegram-tdlib-giveawayer
A Telegram Giveawayer using tdlib (no bot).
https://github.com/omani/telegram-tdlib-giveawayer
giveaway giveaways monerotipbot tdlib
Last synced: 18 days ago
JSON representation
A Telegram Giveawayer using tdlib (no bot).
- Host: GitHub
- URL: https://github.com/omani/telegram-tdlib-giveawayer
- Owner: omani
- License: mit
- Created: 2019-12-07T12:37:08.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-07T12:39:44.000Z (almost 5 years ago)
- Last Synced: 2023-08-16T12:33:55.364Z (over 1 year ago)
- Topics: giveaway, giveaways, monerotipbot, tdlib
- Language: Go
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Telegram TDLib Giveawayer
=========================# Introduction
Make automatic, periodic giveaways via @MoneroTipBot on Telegram.This is not a Telegram bot. It uses [tdlib](https://core.telegram.org/tdlib) and works under your username. Let it run on a VPS and make unattended giveaways.
# Get Your Telegram API Keys
Visit https://my.telegram.org/ and register this app for your Telegram account.# Usage
**Note**: The first time you run this command it will prompt your for your phone number and password (if you have set a cloud password in Telegram). The phone number format must be like this: `+49171123456789` if the phone number was `0171123456789`.Run the command without any arguments to get a list of all the groups you are a member of.
```sh
go run main.go
```Now open a file and write down the group IDs you want to make a giveaway line by line and add the number of giveaways you want to make in each group, seperated by a colon, like this:
```sh
-123456789:1
```It means, for group ID `-123456789` one giveaway shall be made.
Save the file and run the app with the appropriate arguments:
```sh
go run main.go -apiID 123456 -apiHASH MYLONGAPIHASH -filename mygroups.txt -giveaways 3 -every 12h
```Note: the `-every` command has to be in this format: `h` (for hours), `d` (for days), `m` (for minutes), etc.
Happy Tipping!
# Contribution
* You can fork this, extend it and contribute back.
* You can contribute with pull requests.# Donations
I love Monero (XMR) and building applications for and on top of Monero.You can make me happy by donating Monero to the following address:
```
89woiq9b5byQ89SsUL4Bd66MNfReBrTwNEDk9GoacgESjfiGnLSZjTD5x7CcUZba4PBbE3gUJRQyLWD4Akz8554DR4Lcyoj
```# LICENSE
MIT License