Title: getitem method for User objects · Issue #10 · python-telegram-bot/python-telegram-bot · GitHub
Open Graph Title: getitem method for User objects · Issue #10 · python-telegram-bot/python-telegram-bot
X Title: getitem method for User objects · Issue #10 · python-telegram-bot/python-telegram-bot
Description: message.from_user returns a User object, which has username, first name, last name and ID fields. However, these can't be accessed by ob["username"] because there is no getitem method for User class.
Open Graph Description: message.from_user returns a User object, which has username, first name, last name and ID fields. However, these can't be accessed by ob["username"] because there is no getitem method for User class.
X Description: message.from_user returns a User object, which has username, first name, last name and ID fields. However, these can't be accessed by ob["username"] because there is no getitem method...
Opengraph URL: https://github.com/python-telegram-bot/python-telegram-bot/issues/10
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getitem method for User objects","articleBody":"message.from_user returns a User object, which has username, first name, last name and ID fields. However, these can't be accessed by ob[\"username\"] because there is no getitem method for User class.\n","author":{"url":"https://github.com/taninamdar","@type":"Person","name":"taninamdar"},"datePublished":"2015-07-16T04:14:06Z","url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/10"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:98ae6788-532b-9e40-71bf-6971c5724ef2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB9C:240CD1:537E91F:69C89C7:6B0288B4 |
| html-safe-nonce | dae7f78fb9cb590e32b18598d731bc63f59bcb3fb82597ba1b90f070df9cff35 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjlDOjI0MENEMTo1MzdFOTFGOjY5Qzg5Qzc6NkIwMjg4QjQiLCJ2aXNpdG9yX2lkIjoiODYxMTAzOTUxNzYyNzAyNTU4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66d25d406dbfbe334502018ecc0099d40e9e8fb09ae982608a8d49c9ba5d1ab4 |
| hovercard-subject-tag | issue:95346287 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-telegram-bot/python-telegram-bot/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2da78f8b00161e3444903ea634e86e127dfd1625defd082bbb1c04b7c4d6a19f/python-telegram-bot/python-telegram-bot/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2da78f8b00161e3444903ea634e86e127dfd1625defd082bbb1c04b7c4d6a19f/python-telegram-bot/python-telegram-bot/issues/10 |
| og:image:alt | message.from_user returns a User object, which has username, first name, last name and ID fields. However, these can't be accessed by ob["username"] because there is no getitem method for User class. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | taninamdar |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/python-telegram-bot/python-telegram-bot git https://github.com/python-telegram-bot/python-telegram-bot.git |
| octolytics-dimension-user_id | 16178365 |
| octolytics-dimension-user_login | python-telegram-bot |
| octolytics-dimension-repository_id | 38696925 |
| octolytics-dimension-repository_nwo | python-telegram-bot/python-telegram-bot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 38696925 |
| octolytics-dimension-repository_network_root_nwo | python-telegram-bot/python-telegram-bot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width