Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Bugs address offset and length entities #11

Open
azhe403 opened this issue Jun 10, 2019 · 0 comments
Open

Bugs address offset and length entities #11

azhe403 opened this issue Jun 10, 2019 · 0 comments
Labels
good first issue Good for newcomers

Comments

@azhe403
Copy link
Collaborator

azhe403 commented Jun 10, 2019

Untuk mendapatkan pemformatan teks pada pesan atau media caption biasanya didapatkan dari entities json seperti ini:

"entities": [
        {
            "offset": 3,
            "length": 14,
            "type": "bold"
        },
        {
            "offset": 21,
            "length": 16,
            "type": "code"
        },
        {
            "offset": 41,
            "length": 203,
            "type": "italic"
        },
]

Ketika terdapat emoji di dalamnya, maka terdapat potensi pergeseran offset dan length pada titik tertentu, terutama ketika terdapat emoji di awal teks. Masalah ini belum di selesaikan, maka dari itu di bikinlah sebua Issue baru. Harapannya segera di temukan solusi agar WinTenBot dan Saudaranya menjadi lebih baik. Mungkin dari pengguna WinTenBot dapat memberikan solusi.

@azhe403 azhe403 added the good first issue Good for newcomers label Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant