Skip to content

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

@abhi3700

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions