Struct teloxide_core::payloads::ReopenGeneralForumTopic
source · pub struct ReopenGeneralForumTopic {
pub chat_id: Recipient,
}
Expand description
Use this method to reopen a closed ‘General’ topic in a forum supergroup chat. The bot must be an administrator in the chat for this to work and must have the can_manage_topics administrator rights. The topic will be automatically unhidden if it was hidden. Returns True on success.
Fields§
§chat_id: Recipient
Unique identifier for the target chat or username of the target channel (in the format @channelusername
)
Implementations§
Trait Implementations§
source§impl Clone for ReopenGeneralForumTopic
impl Clone for ReopenGeneralForumTopic
source§impl Debug for ReopenGeneralForumTopic
impl Debug for ReopenGeneralForumTopic
source§impl Hash for ReopenGeneralForumTopic
impl Hash for ReopenGeneralForumTopic
source§impl PartialEq<ReopenGeneralForumTopic> for ReopenGeneralForumTopic
impl PartialEq<ReopenGeneralForumTopic> for ReopenGeneralForumTopic
source§fn eq(&self, other: &ReopenGeneralForumTopic) -> bool
fn eq(&self, other: &ReopenGeneralForumTopic) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for ReopenGeneralForumTopic
impl Payload for ReopenGeneralForumTopic
source§fn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates
with
big timeout
), the minimum timeout that should be used.source§impl Serialize for ReopenGeneralForumTopic
impl Serialize for ReopenGeneralForumTopic
impl Eq for ReopenGeneralForumTopic
impl StructuralEq for ReopenGeneralForumTopic
impl StructuralPartialEq for ReopenGeneralForumTopic
Auto Trait Implementations§
impl RefUnwindSafe for ReopenGeneralForumTopic
impl Send for ReopenGeneralForumTopic
impl Sync for ReopenGeneralForumTopic
impl Unpin for ReopenGeneralForumTopic
impl UnwindSafe for ReopenGeneralForumTopic
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.