Skip to content

how does bot read a message with (text + photo) #168

Description

@abhi3700

i am using this:

@bot.message_contains("kycdocf")
def save_kyc_docfrontimg(chat, message):
  photo = message.document

  message.reply('{file_id} \nsaved.'.format(file_id=str(photo.file_id)), reply_to = message.id)

I am i am not able to get the file_id
How to do this?..Anyone pls?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions