Comments (8)
I wanted to create some ptb quality classes so badly π₯Ή, soo
Information about Business Accounts
- Added the class BusinessIntro and the field business_intro to the class Chat.
- Added the class BusinessLocation and the field business_location to the class Chat.
- Added the classes BusinessOpeningHours and BusinessOpeningHoursInterval and the field business_opening_hours to the class Chat.
from python-telegram-bot.
if any easy topic is here which will suitable for easy to start with as i want to start freshly, any suggestion pls me
alright, you can try doing the "Added the field is_from_offline to the class Message." part. You basically have to copy the field documentation from core.telegram.org/bots/api#message into our library.
How to add the field:
- Open
_message.py
and scroll to the class documentation. - Add entry for
is_from_offline
in both the Args section and Attributes section. - Scroll down to the
__slots__
tuple and addis_from_offline
there also. - Scroll further to
__init__
and addis_from_offline
to the last entry, just before the*
. - Add
self.is_from_offline = is_from_offline
to the__init__
body.
For adapting tests:
- Open the test_message.py file and add an entry for
is_from_offline
here. - Add an entry to the
ids
list just below that.
Don't forget to base your branch on api-7.2.
from python-telegram-bot.
I'll take the "Added the field is_from_offline to the class Message" section
from python-telegram-bot.
I'll take the "working on behalf of business accounts" & "Integration with Business accounts" section
from python-telegram-bot.
I'll take the "Request Chat Improvements" part
from python-telegram-bot.
i really want to work here and contribute
if any easy topic is here which will suitable for easy to start with as i want to start freshly,
any suggestion pls me, i will try to check, i am still not good in OOP here, i need to look pls suggest me something which topic to choose,
likeπππ
maybe i can remove the is_animated or is_video parameters to remove from the Sticker Set Class
from python-telegram-bot.
still it looks like i need a more learn python with background works with dunder and so on,
i think if i will download the PTB zip and edit and send the edited zip to u then can be be done,
as the git commands which are said in the guide section is really going over my head,
and i am not familiar with these.
from python-telegram-bot.
@RanaUniverse If that is the case, you can learn git and get more familiar with OOP and contribute in another issue at a later date.
from python-telegram-bot.
Related Issues (20)
- [QUESTION] running other coroutines along with run_poll HOT 2
- [Type Hinting] `EncryptedCredentials.decrypted_secret` is not properly annotated HOT 2
- [QUESTION] problem with reading timeout. HOT 2
- [BUG] `Message.reply_text` leads to `Message thread not found` HOT 9
- Spelled wrong
- My TeamViewer ID HOT 1
- [BUG] `App.post_stop` is called even if `App.stop` is not called
- My TeamViewer ID HOT 1
- [QUESTION] HOT 5
- [BUG] Getting text_markdown_v2 from message does not always work correctly when the message contains blockquote entities HOT 5
- [BUG] `InlineKeyboardMarkup` does not appear with `send_photo()` HOT 3
- [QUESTION] Get User "Typing" behavior HOT 2
- [FEATURE] API 7.3 HOT 3
- [BUG] Can't get the first example in the documentation to work HOT 3
- Typo in documentation HOT 1
- [ERROR]"Unable to import 'Filters' from 'telegram.ext' in python-telegram-bot library" HOT 3
- Remove Functionality Deprecated by API 7.3
- [QUESTION] Having multiple CallbackQueryHandlers inside a ConversationHandler HOT 5
- [QUESTION] echobot.py is not working. HOT 4
- HTML tag in user's profile name makes problem in parse html HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-telegram-bot.