Skip to main content

Im_poster is a Telegram Posts Management Tool

Project description

Imposter bot

Imposter is a telegram bot which creates a post with title and message with and index to track that post, in telegram channel or group in which this bot has been added.


List of Keys and Ids which is needed to work with this bot are:

  1. A group or a channel
    You all know how to create a group or a channel, we would need channel id or group id.

  2. A telegram bot
    To create a telegram bot you need botfather, after creation of Bot there would be an auth key for bot we would be needing that.


How it works?


Imposter is bascially a kind of interface given to some of the endpoints of Telegram Bot Api, it takes data from users and put it in perticular format in telegram Channels or groups.

Step 1: Print title and message in telegram channel (Done)

To do this sendMessage method is getting used, interface takes bot auth key, channel id, a title and message from user.

Step 2: Create or Append Index

There is a bit of processing in this situation, it has been assumed that there are no index created by any user and only that index has been pinned to that channel.

if there is no pinned message it will create a new index

Now it takes the title and link of the sent message and add title as hyperlink, linked to the message.

To get the pinned message getChat method is being used. \

If there is no pin, to create index sendMessage and to pin that index pinChatMessage are being used.\

if there is a pinned message, then it checks if it is index or not it it's not an index message then editMessage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

im_botposter-0.0.4.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

im_botposter-0.0.4-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file im_botposter-0.0.4.tar.gz.

File metadata

  • Download URL: im_botposter-0.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for im_botposter-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f032f1e6117e0a8dbdc079021a238c7deda792474a82ce2de29e7e6090e76a8c
MD5 42301c3da6a3da77a2e2682650af104f
BLAKE2b-256 42b2d24a6a52987295190b2ad7d30303c9b836ece48d9d780f6457b602180677

See more details on using hashes here.

File details

Details for the file im_botposter-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: im_botposter-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.10

File hashes

Hashes for im_botposter-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 89f6a34bbf2978827b09c7fc5b8bcc400fcc29d28aad071bf164a2fafd056325
MD5 2ff8629d39d73c6df500412d88a15f40
BLAKE2b-256 758f403bfbb1fe531f755dff4954f59287ab2006d9715fe0cd0f2601c87addc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page